Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Hewitt 65 posts 126 karma points
    Mar 15, 2013 @ 12:04
    Simon Hewitt
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies