- rtolmachAsked on December 28, 2017 at 09:43 PM
Working on this form:
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.
- JotForm SupportNik_CAnswered 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:
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.
- rtolmachAnswered on December 29, 2017 at 01:53 PM
The first one sounds like the best approach. Can I use
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.
- JotForm SupportNik_CAnswered on December 29, 2017 at 02: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.