You are viewing limited content. For full access, please sign in.

Question

Question

How do I set up a lookup rule to "Other" in a checkbox list?

asked on September 7, 2017

I have a checkbox list where users can chose one or more Business Sections. When the user chooses "Other", I'd like to be able to show the Forms user list.

But when I try to set that up, I don't see where I can add "Business Section".

Do I have to write java to do this?

0 0

Answer

SELECTED ANSWER
replied on September 7, 2017

Ok so what will need to happen is create a dropdown and assign it the class 'hidden'(advanced tab). use your lookup rules to populate it with the values you want in the dropdown.

Next I will need the source html for the check box. Go into preview mode in chrome, right click the other option box and select inspect. In the window that opens part of the code should be selected, expand the elements around that one by clicking the triangles and then screen shot the code for me.

Upload the screenshot in your next message and when I have a sec ill write the script you need to override the checkbox.

0 0

Replies

replied on September 7, 2017

Have you tried Field Rules instead of Lookup Rules?

FieldRules.PNG
FieldRules.PNG (5.53 KB)
0 0
replied on September 7, 2017

I do not believe what you are looking for currently exists in Forms.

0 0
replied on September 7, 2017

I'm not quite sure what you are asking. Lookup rules don't work on check-boxes or radio buttons as a general rule but that can be worked around with some well placed java-script. 

From what you have said i'm guessing you want it so that the other box is a drop-down box containing a list of users? If this is correct, it is possible to do but will require some java-script.

Let me know if i'm close to the mark and ill chuck you some code when i have a free min :)

 

0 0
replied on September 7, 2017

Yes, you are on the mark!

0 0
SELECTED ANSWER
replied on September 7, 2017

Ok so what will need to happen is create a dropdown and assign it the class 'hidden'(advanced tab). use your lookup rules to populate it with the values you want in the dropdown.

Next I will need the source html for the check box. Go into preview mode in chrome, right click the other option box and select inspect. In the window that opens part of the code should be selected, expand the elements around that one by clicking the triangles and then screen shot the code for me.

Upload the screenshot in your next message and when I have a sec ill write the script you need to override the checkbox.

0 0
replied on September 8, 2017

Aaron, you have been so helpful, but I regret to tell you that I no longer need that function. I do know where you were going with it, though! The customer has changed their minds and no longer want the checkboxes. Thanks again for the effort!

0 0
replied on September 9, 2017

Haha no worries, i'm no stranger to changing requirements :)

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.