-
rtolmachAsked on December 28, 2017 at 9: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!
-
Nik_CReplied on December 29, 2017 at 4:13 AM
I don't see another way then to check if that field contains those words, like this:
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!
-
rtolmachReplied on December 29, 2017 at 1: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!
-
Nik_CReplied on December 29, 2017 at 2:35 PM
Actually, you're right, regarding the 'college' and 'university', so brackets should work.
Something like this:
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!