- postmeitAsked on October 08, 2013 at 10:08 AM
Building a condition usng your wizard for sending an email based on a field entry.
I want to filter anything other than that ending with 01
On your conditions wizard I want to add a condition that DOES NOT end with 01
You have a statement which is ENDS with but no NOT END with
Is there a way to use a negative modifier such as ENDS with [!1]
Or can you think of a way to achieve the same.
- JotForm SupportjonathanAnswered on October 08, 2013 at 10:34 AM
Unfortunatelly there is no NOT END with condition.
BUT I think you can offset this by using the END With -- that is by creating condition END With 1,2,3,4 to 9th.
If you include End with zero(0), you actually need to create only 10 END With condition emails.
IF destination ENDS With "1" Send message to [email]
IF destination ENDS With "2" Send message2 to [email2]
IF destination ENDS With "3" Send message3 to [email3]...
IF destination ENDS With "0" Send message0 to [email0]Inform us if I did not understand your inquiry correctly.Thanks
- postmeitAnswered on October 08, 2013 at 11:10 AM
Hi Jonathan - Yes you understood fine
But it will not work in this case as I have another condition before which must be met as well.
So it is IF field 1 = Dollar
and does NOT end with 02,03,04,05 (which a singular negative modifier [!1] would permit )
Then send message 1 to email abc@
As I can't see how using either the Any/All will work ?
Do you not permit wildcards in the subission strings? (or regex)
- postmeitAnswered on October 08, 2013 at 11:17 AM
Oh should have pointed out am already using 3 If conditions above but need to add the second criteria for each and want to avoid having to create 6 + separate condition rules.
If there was "does NOT end" with enable it would be easy and less rules needed.
- JotForm SupportWelvinAnswered on October 08, 2013 at 12:33 PM
We can forward this to our developers as a feature request, but I request you to open a separate thread for that. You can start from here: http://www.jotform.com/answers/answer.php?.
You can use my colleague suggestions to use the "Ends With". It's a two or three way process but should work for your purpose.
- postmeitAnswered on October 08, 2013 at 01:08 PM
Can I use a wildcard ? You didn't say..
Yes can use Ends WITH but that means would need to create several more times the number of conditional email rules to achieve the same thing.
What would be really useful is to have an option for a mandatory condition AND any of several Options.
So If field is DOLLAR
Colour is BLUE
Colour is RED
ANY/ALL is not flexible enough!
PS Have added as a feature request
- postmeitAnswered on October 08, 2013 at 01:42 PM
For your info
To solve it now I have to create 12 separate conditions.
If that was a feature it could be done with 4 conditions. Which is a lot less to maintain debug or change.
Ideally would like to be able to case switch so could create a single rule!
- JotForm SupportWelvinAnswered on October 08, 2013 at 02:15 PM
Great to know that! We have your request thread added to our Feature Request List. We'll let you know for updates.