I have a databasejoin dropdown element that is using the isnot validation plugin to check that the value is not zero.
I had also set the form to 'Toggle Submit'. I only need that to occur when new - so I wrote some php code for the 'Condition' statement in the validation plugin so as to to return false. But that doesn't work - the submit button remains dimmed.
I even tried changing the 'Condition' to "return false;" just to test. (And if I unpublish the validation plugin, the submit button shows, of course)
So the 'Condition' for the validation plugin is always ignored and the submit button is always dimmed if I use the 'Toggle submit' form setting.
This is not the same issue mentioned here - but this might be a good time to think about fixing this issue too...
'Must Validate' always dims Save button
I had also set the form to 'Toggle Submit'. I only need that to occur when new - so I wrote some php code for the 'Condition' statement in the validation plugin so as to to return false. But that doesn't work - the submit button remains dimmed.
I even tried changing the 'Condition' to "return false;" just to test. (And if I unpublish the validation plugin, the submit button shows, of course)
So the 'Condition' for the validation plugin is always ignored and the submit button is always dimmed if I use the 'Toggle submit' form setting.
This is not the same issue mentioned here - but this might be a good time to think about fixing this issue too...
'Must Validate' always dims Save button