I am trying to make a dynamic form, but I'm either misunderstanding the rules or something is not working.
For example let's say I have a drop down field "Is silverstripe your cms" with the choices 'choose', 'Yes', and 'No'. If the user selects 'No' I would want a text field to appear that says "why not?"
The properties I would assign to the 'why not?' textfield would be 'hide by default' and 'Show this field' When 'Is silverstripe your cms' 'Value' 'No'
Is this how it is supposed to work? It is not working for me. Do you need to put in quotes or any escape characters for special characters in the last rule field?
Thanks!
Edit: Just noticed this JavaScript Error in firebug... Is this the problem, Advice on a fix?:
$("#Form_Form").validate is not a function
anonymous()quotes?flush=1 (line 203)
anonymous()jquery.min.js (line 19)
anonymous([function(), function(), function()], function(), Object name=F)jquery.min.js (line 12)
anonymous()jquery.min.js (line 19)
anonymous()jquery.min.js (line 19)
[Break on this error] required:1 \nquotes?flush=1 (line 203)