Nintex Forms 2013
If you implement a set of cascading drop down controls - Cascading drop downs and Nintex Forms for SharePoint and your second control only has 1 value, how can the 1 value be set as the default value automatically rather than having the form user having to select the value?
Oh that is a good UX feature request. You may want to add that to UserVoice for nintex. But I see where the breakdown is. When the control is being filled and repainted by the browser, the control itself doesn't know how many items are there. I'm sure then you can use custom jQuery code to make it happen, but that is an additional complexity to maintain. What if you change the resulting control to display as a checklist or option buttons instead of a drop down. Does it provide a better user experience?
Well, can't fix laziness. But here is another option. I haven't tested this, so just a theory.
Create a rule on the second drop down, resulting drop down. If the length of the control is < 2, then hide it. That way the user sees there is no more input required and you can then assume the selection of the single item.
The issue with this approach is that the control doesn't get a value when saved. So I don't know what side effects that brings to your setup. You could have a workflow update the selection on behalf of the user the same way. If the query of the parent control results to a collection variable only 1 item, then assume its selected and update the list item field.
I’ll play around with the rule, just to see what happens.
I might be able to use the workflow in the future, I guess in my environment, it depends on requirements, which keep changing.
Hi Andrew W
Please put a link to the UserVoice suggestion so that anyone who comes across this thread and wants the same thing can vote it up.