Solved

I have a field on a responsive form that I want to show depending on a value selected in a picklist field on the form

  • 7 August 2018
  • 9 replies
  • 19 views

Badge +3

Hi, 

 

I have created a responsive form that has a field that I want to display only if a specific value has been selected from the picklist of another field on the form.

 

Can this be done on a responsive form and which in-line function should I use?

 

Thanks

icon

Best answer by EuanGamble 8 August 2018, 03:06

View original

9 replies

Userlevel 5
Badge +13

Hi Sandy Huntley‌,


Assuming this is a drop down choice control, you can default the second control to hidden with a rule similar to below.


This means that if any other option, other than Option 2, is selected, then the text box is hidden.

If on the other hand, you were using checkboxes on your choice control, the rule is a little different. There is two rules you could do.

 

First the contains function is looking to see if the Choice control has a selection of Option 2. Then since we dont want to hide it if this is true, we inverse the logic. So, we put a not function around the contains. Or alternatively you can put ! to inverse as well.

Hope that helps.

Cheers,

Euan

Badge +3

Hi Euan,

It is a checkbox and I tried both of the options and it hides it for all values related to that field.

Kind Regards

Sandy Huntley Application Support Specialist • Business Solutions and Technology

Tourism and Events Queensland

T 61 7 3535-5514<tel:61735355514> • E sandy.huntley@queensland.com<mailto:sandy.huntley@queensland.com> • W teq.queensland.com

A Level 10, 30 Makerston Street, Brisbane QLD 4000<https://www.google.com/maps/place/30MakerstonSt,BrisbaneCityQLD4000,+Australia/> • GPO Box 328, Brisbane QLD 4001, Australia

I know just the place to plan your next Queensland holiday: queensland.com<http://www.queensland.com/>

Follow us on: Facebook<http://www.facebook.com/visitqueensland> Twitter <http://twitter.com/queensland> YouTube<http://www.youtube.com/queensland>

Userlevel 5
Badge +13

Hi Sandy Huntley‌,

If its a single check box (not a check box but a Yes/No) then it will require something a bit different.

A checkbox stores its value as either true (for checked) or false (for unchecked). See the example below.

Hope that helps.


Cheers,

Euan

Badge +3

Hi,

No it’s a choice but I’m choosing to display as checkboxes, there are 4 options to choose from.

Kind Regards

Sandy Huntley Application Support Specialist • Business Solutions and Technology

Tourism and Events Queensland

T 61 7 3535-5514<tel:61735355514> • E sandy.huntley@queensland.com<mailto:sandy.huntley@queensland.com> • W teq.queensland.com

A Level 10, 30 Makerston Street, Brisbane QLD 4000<https://www.google.com/maps/place/30MakerstonSt,BrisbaneCityQLD4000,+Australia/> • GPO Box 328, Brisbane QLD 4001, Australia

I know just the place to plan your next Queensland holiday: queensland.com<http://www.queensland.com/>

Follow us on: Facebook<http://www.facebook.com/visitqueensland> Twitter <http://twitter.com/queensland> YouTube<http://www.youtube.com/queensland>

Userlevel 5
Badge +13

Hi Sandy Huntley‌,


Can you paste your formula you are using in here?

Thanks,

Euan

Badge +3

!contains(Strategic Purpose<javascript:void(0);>, 'Stakeholder Relations') - Hide

Kind Regards

Sandy Huntley Application Support Specialist • Business Solutions and Technology

Tourism and Events Queensland

T 61 7 3535-5514<tel:61735355514> • E sandy.huntley@queensland.com<mailto:sandy.huntley@queensland.com> • W teq.queensland.com

A Level 10, 30 Makerston Street, Brisbane QLD 4000<https://www.google.com/maps/place/30MakerstonSt,BrisbaneCityQLD4000,+Australia/> • GPO Box 328, Brisbane QLD 4001, Australia

I know just the place to plan your next Queensland holiday: queensland.com<http://www.queensland.com/>

Follow us on: Facebook<http://www.facebook.com/visitqueensland> Twitter <http://twitter.com/queensland> YouTube<http://www.youtube.com/queensland>

Userlevel 5
Badge +13

Hi Sandy Huntley‌,

I successfully tested this on my form and it works OK.

Are you able to drop an email to support@nintex.com with your issue and also cc me (euan.gamble@nintex.com) ?

Thanks,
Euan

Userlevel 5
Badge +13

Sandy Huntley

Also can you export your form and include it on the email?

Thanks,
Euan

Userlevel 5
Badge +13

Just to close this thread off. Sandy Huntley‌ and I were able to fix the issue by removing the token and readding.


Cheers,

Euan

Reply