One solution I came up with is as below.
Note here the two fields are name (fone) and colorsheme (ftwo)
\define tmpTid() myTiddler
<$vars disabled={{{[<tmpTid>get[name]!is[blank]then[no]else[yes]] :intersection[<tmpTid>get[colorscheme]!is[blank]then[no]else[yes]] ~[[yes]]}}} >
<$button actions=<<newPalette>> disabled=<<disabled>>>Create</$button>
</$vars>
This is an ugly solution! I am looking for a simpler, more semantic and easy to follow!
Note ii: the button is working if two fields are not empty at the same time!