Validate form field against a list

  • Profile Image
    Asked on March 28, 2015 at 10:59 AM

    How can I validate the entry of a field against a list? Is it possibile to do it through the online interface or do I need to write a code? If so, could you please provide me with an example?

    Thank you very much

  • Profile Image
    Answered on March 28, 2015 at 12:45 PM

    Can you let us know where would that list be? There are several ways to do this, but it would depend on how is the list going to be accessed. For example, you can use JavaScript and the indexOf method if it's a short list (array). But, you would need to use the full source code of your form to use a custom script that would perform this validation.

    We also have the autocomplete widget that provides a similar functionality, you might want to take a look at it.

    If you can provide us with more details about how this validation should work, we can provide a more detailed answer about if and how this can be accomplished.

  • Profile Image
    Answered on September 27, 2015 at 07:48 AM

    i have same question Raul.


    My issue is i am not sure where i can or how i can place a list in.


    my form is based on the idea that our staff will place data only they know as true: "Locator ID, Locator Name and Locators Email" and i want the data to be recalled in the form fields as "correct or incorrect" according to a list of data pre logged in the behind the scenes. 

    I have a short list but the issue is they maybe temporarily used IE if we make a list of points to pull from if we later on need to change the data in the list lets say that locator A101 leaves and he is replaced could we change his data and add new locator to his locator ID?

  • Profile Image
    Answered on September 27, 2015 at 07:00 PM

    @ ggsstarvending


    We will resolve your issue here