cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Radio Buttons in Agentry

Former Member
0 Kudos

Hi,

I created the screen below.

if user select "text 3" then "text 3 - x" radio buttons are enabled the others disabled. The enable rule check transaction but its run "data entry after/before". In rule i try use the screen fields but i cant work.

it should work runtime.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You are correct you need to set an Enable Rule on the screen.  For when you are targeting field in the rule try selecting the screen and then screen field, instead of the transaction field.

Former Member
0 Kudos

I'm sorry the image unattached.

Thank you answer. I created enabled rule using with screenfield (i select the list screen field it isnt to be. but if i paste, it done. i thing it is just compare string  )

i create this enabled rule

jason_latko
Advisor
Advisor
0 Kudos

Adem,

Enable rules expect a BOOLEAN response, so you don't need the IF in your rule.  Just the EQSTR logic will work, returning either TRUE or FALSE.

So Text3_Value is the Value you have set on the Text 3 radio button?

Jason Latko - Senior Product Developer at SAP

Former Member
0 Kudos

So once a user selects a "Text N - N" field all other radio buttons should be grayed out?

The way you currently have it you would need 15 different rules that have like 11 different compares each.

My suggestion would be have a new field on the screen the is set to hidden.  Have a update rule on this hidden field that finds currently selected field.

Have the same enable filed on all the fields that disables the filed once the hidden field is filled in.

Former Member
0 Kudos

Hi Stephen,

You say makes sense, but I could not. Can you give me sample for rule. And also Let me give you details that I want to do..

If User choise "Text1", "Text1-X" will be selectable, others will not be selectable. Then If User choise "Text2", "Text2-X" will be selectable, others will not be selectable. This must be same time. User "text-X" should be able to switch between.

jason_latko
Advisor
Advisor
0 Kudos

Adem,

You would need three different enable rules, laid out the way you showed your existing rule, but without the IF statement.  One for Text1_Value, Text2_Value and Text3_Value.  Put the Text1 rule on all the Text1-N radio buttons, Text2 on the Text2-N and Text3 on the Text3-N.  That should be it.

Jason Latko - Senior Product Developer at SAP

Former Member
0 Kudos

Thanks it's work

Answers (0)