cancel
Showing results for 
Search instead for 
Did you mean: 
gopalvec
Nintex Newbie

Displaying dynamic Checkboxes (or option buttons) dynamically.

Hi, How can I display multiple checkboxes dynamically based on dropdown selection fields. I have two dropdown fields to select Month and Year. Based on selected Month and Year I need to display individual date as a checkbox. The user should be able to select more than one date in the selected month. Please assist of any possible solution for this.

Labels: (1)
0 Kudos
Reply
4 Replies
dgoodridge
Nintex Newbie

Re: Displaying dynamic Checkboxes (or option buttons) dynamically.

Right-click the field you want to conditionally hide and select Add Rule. The rule condition needs to be formatted like Javascript, so say for example I only want this date field to appear when the Year selected is 2015, my condition would be "not(Year=="2015")" and then I would check the box next to Hide at the bottom of the Rule options.

I'm not entirely sure what your criteria are, but if you had different date choices for different Year/Month combinations you would need a separate Drop Down List field for each possible date choice combination... If you put each one in a panel and apply the rule to the panel it will keep things neat, otherwise you'll end up with big gaps in your form.

Read More:

Show or hide controls with Rules in Nintex Forms

Nintex Forms and the New “Rules” Feature | Sharepoint SIG

0 Kudos
Reply
gopalvec
Nintex Newbie

Re: Displaying dynamic Checkboxes (or option buttons) dynamically.

Hi Daniel, Thank you for the suggestions. What I am actually trying to do is, if I select May in Month Select Drop Down and 2015 in Year Select Drop Down, it should build the Checkbox for each date in that month. I think we need to build (create) the checkboxes dynamically using JQuery, but not sure if that is possible or if there are any possible alternate solutions.

I have attached the screenshot of how it should work. Any help would be really appreciated.

0 Kudos
Reply
fccrous
Nintex Newbie

Re: Displaying dynamic Checkboxes (or option buttons) dynamically.

Good day,

Have you considered building a separate list with columns Year, Month and Day and using that with a multiple select droplist and some filtering?  Almost like a cascading prompt.

I have not tried this yet but I also think what you are trying to achieve in the screenshot above would lead to so much coding on the form.

Interesting problem.  I'd like to try making this work in my environment.

0 Kudos
Reply
Automation Master
Automation Master

Re: Displaying dynamic Checkboxes (or option buttons) dynamically.

Hi , hopefully you've resolved this outdated problem.
could you post a resolution and close the question by marking it answered?

 

#BRGreview

Reply