Making certain visitor replaces default text?

  • rtolmach
    Fecha de consulta 28 de diciembre de 2017, 21:43

    Hi Jotform


    Working on this form:

    https://www.jotform.com/build/73507336984163


    It has a field, "Please add a first paragraph about . . ."

    We hope they will write their own paragraph, but if they do not, we want to be sure they replace this part of the default text with their own organization and college names.


    [ORGANIZATION NAME] at [COLLEGE OR UNIVERSITY] 


    How do we make an error message appear if, when they submit, that field still contains either:

    [ORGANIZATION NAME] or [COLLEGE OR UNIVERSITY] 

    ?

    I do not want one of those ugly error messages appearing the entire time until they delete that.

    Thanks!

     

  • Nik_C
    Fecha de respuesta 29 de diciembre de 2017, 4:13

    I don't see another way then to check if that field contains those words, like this:

    1514538653Screen Shot 2017 12 29 at 10 Screenshot 10

    And then show certain message, the issue there is, as you said, that the message will show until they change the wording.

    Another way would be to redirect them to thank you page that will show the error, but then the form is submitted already so that's not the good way either.

    So the first option might be the only solution, where you can show some text that will say them to change input the information in that field.

    Let us know if that could work for you.

    Thank you!

  • rtolmach
    Fecha de respuesta 29 de diciembre de 2017, 13:53

    The first one sounds like the best approach. Can I use

    IF 

    CONTAINS   

    VALUE

    [

    and

    IF 

    CONTAINS   

    VALUE

    ]


    That is, square bracket symbols. I cannot use the words college or university, since they will replace 

    [COLLEGE OR UNIVERSITY] 

    with something like

    Princeton University   OR   Marist College


    There is less chance that their organization will have 'organization' in its name, but there will be some.  However, there is no reason for the square brackets to remain.


    Thanks!

  • Nik_C
    Fecha de respuesta 29 de diciembre de 2017, 14:35

    Actually, you're right, regarding the 'college' and 'university', so brackets should work. 

    Something like this:

    1514575982Screen Shot 2017 12 29 at 8 Screenshot 10

    And make sure you use 'ANY' like in the screenshot above, so both brackets will trigger the conditional logic.

    If you have any further questions please let us know.

    Thank you!