Text Field with required as the only criteria

3 months 3 days ago #7 by Steven
I thought about using the extra fields and putting them at the end, but I started with the extra question because it seemed simpler and I could easily dissect the inner workings, until I ran into the comma issue.

I didn't think of or know about [option_text] which I will look at and did not think about adding a custom input, but this is working now, so mission accomplished ;o)

Please Log in or Create an account to join the conversation.

2 months 3 weeks ago #8 by Christopher Mavros
Replied by Christopher Mavros on topic Text Field with required as the only criteria
All of the suggestions in this topic were implemented and just included in version 1.13.1480.
1. Escape commas using a backslash (\,)

2. Use [contains:your text here] to check if the answer contains your text here.
You can even combine [contains:...] in your possible answer to check if it contains multiple things. All [contains:...] tags are considered required (AND not OR)

3. Use [not-empty] to check if there was any answer given.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

2 months 3 weeks ago #9 by Steven
Awesome. I will have to wait to update since I don't want to break my plugin while we have a very active quiz going.

Nice work!

Steven

Please Log in or Create an account to join the conversation.

2 months 3 weeks ago #10 by Christopher Mavros
Replied by Christopher Mavros on topic Text Field with required as the only criteria
Thank you!

After releasing the update, I thought that I could possibly break the correct answer into commas before looking for [contains:...] so that I allow different possible [contains:...] values, but now it's released. Maybe I'll add that in the next update.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros