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

Question

Question

How to initialize a radio button field through a lookup rule

asked on February 9, 2016

Hello,

I try to initialize a radio button field through a lookup rule but that field does not show up in the «Fill» list because (I assume) the field is a radio button.

note: the SQL value returned by the lookup query is compatible with the field's «Assign values to choices» values

Is there any workaround ?

2 0

Answer

SELECTED ANSWER
replied on February 10, 2016 Show version history

As far as I know Forms lookup rules can't "fill" radio buttons or check boxes. You could put the lookup's fill value in a hidden text field and then use Javascript to select the radio button or check box that matches the fill value.

Here is some documentation on using JQuery to read and set check boxes and radio buttons:

http://api.jquery.com/prop/

https://learn.jquery.com/using-jquery-core/faq/how-do-i-check-uncheck-a-checkbox-input-or-radio-button/

1 0

Replies

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

Sign in to reply to this post.