I'm trying to implement the classic select an option from a choice field and if your item isn't listed choose the 'other' check box and a new text box will appear where they can type what 'other' means. I only want that text box displayed if 'other' is selected. By way of example, let's say we want someone to fill in which Nintex Products they are interested in but only want to mention the main ones. The choice field is called productChoices. Anything else they can tick 'other' and type the name in:
Tell us what Nintex Products you are interested in:
[ ] Workflow
[ ] Forms
[ ] W/F for Project Server
[ ] Other
I've created a hide rule on the 'other' field that parses this list and checks to see if other has been ticked. I can't do a simple hide if productChoices='other' because the person may have ticked some other products too. Therefore I've used the contains formula.
Hide if: !contains(productChoices, 'other')
That works perfectly for the web form (on-prem and live) but unfortunately it doesn't work with Nintex Mobile. Does anyone have an alternate formula I could use?
Solved! Go to Solution.
You may need to verify whats the value present in the 'productChoices' field in the Nintex mobile form. To do this,
1. Add a calculated field in the form
2. Connect this calculated field to the 'productChoices'
3. Publish the form
4. Now open the form and select the values. You should see calculated fields showing the selected values.
5. Based on the outcome you can tweak your rule condition
Thanks for your reply. Unfortunately my version of Nintex mobile doesn't support calculated fields but I put one into the "normal" mobile form and got a string like this "[Workflow,Other]. Therefore I'm pretty sure my formula is correct but for some reason Nintex Mobile doesn't like it.
Hi Chris Ben
I just wanted to thank you for sharing your formula if: !contains(productChoices, 'other')
This has just solved my problem when I was trying to hide a particular item on my form using rules and a list lookup.
I hope this issue was resolved as this is an old post. Could you please post your solution and mark it as correct to help others on the community.
Hi Kapil, thanks for your follow-up. Unfortunately this was not resolved. Nintex mobile has been updated a number of times since so it may now work but I haven't tested it.
Hi Chris Ben!
I've found a way to make it work also on Nintex Mobile!! instead of your rule try not(contains(productChoices, 'other'))