Making certain visitor replaces default text?

  • Profile Image
    rtolmach
    Asked on December 28, 2017 at 09:43 PM

    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!

     

  • Profile Image
    Nik_C
    Answered on December 29, 2017 at 04:13 AM

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

    1514538653Screen Shot 2017-12-29 at 10.1

    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!

  • Profile Image
    rtolmach
    Answered on December 29, 2017 at 01:53 PM

    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!

  • Profile Image
    Nik_C
    Answered on December 29, 2017 at 02:35 PM

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

    Something like this:

    1514575982Screen Shot 2017-12-29 at 8.38

    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!