Required field and number validation is not triggered in Configurable List widget. Form gets submitted.

  • Profile Image
    swapna_summit
    Asked on July 03, 2014 at 02:54 AM

    Hi i need to add the data in the fields of the configurable list widget and make sure that it is in ' required validation'(*).

    so when i made this widget in my form with required validation, it is not working properly when i clicked next page.

    Please ,write the CSS code if i could write in the CSS of Configurable widget list for 'Required Validation'(*).

  • Profile Image
    ashwin_d
    Answered on July 03, 2014 at 06:59 AM

    Hello swapna_summit,

    I'm sorry for the trouble caused to you.

    It seems you are right. I created a demo form with "Configurable list" width and marked one of the field as required. When I do not input any value in the required field and click on the submit button, it does highlight the required field but still submits the form.

    I am creating a bug report and sending it to our back end team. We will get back to you as soon as this issue is fixed.

    Thank you!

  • Profile Image
    MacLuc
    Answered on July 03, 2014 at 10:24 AM

    Configurable List was not required by default (I've changed it now, but it won't affect existing widgets), so please check in wizard if the widget is set as required - if not, fields' config can't overwrite this setting and stop form submitting.

    Validation of number fields is a bug indeed - I'll let you know when it's fixed.

  • Profile Image
    MacLuc
    Answered on July 08, 2014 at 03:41 AM

    Fields validation has been added - number field will no longer accept non-number data.