When clicking on 'previous', the selected value on dropdowns from the previous step are lost and the default value is shown instead.
Looking through the code I can see it sets the value of the hidden field 'PreviousClicked' to 'back' and then submits, the next thing I see is the array 'ContourfieldValues' contains the default value instead of the selected value.
The question:
I'd like to implement a filtered file upload field wich only accepts specific mime types, I had intended to piggyback the jquery validation setup and add my own rules based on some AdditionalSettings properties. The problem is I cant find the actual call to .validate() so I can add my rule. Where should I be adding rules or do I need to do it inline in the render script for the fieldtype?
A problem and a question
The problem:
When clicking on 'previous', the selected value on dropdowns from the previous step are lost and the default value is shown instead.
Looking through the code I can see it sets the value of the hidden field 'PreviousClicked' to 'back' and then submits, the next thing I see is the array 'ContourfieldValues' contains the default value instead of the selected value.
The question:
I'd like to implement a filtered file upload field wich only accepts specific mime types, I had intended to piggyback the jquery validation setup and add my own rules based on some AdditionalSettings properties. The problem is I cant find the actual call to .validate() so I can add my rule. Where should I be adding rules or do I need to do it inline in the render script for the fieldtype?
Many thanks
Simon
is working on a reply...