Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

making one radio button invisible if selected no in other one

Hello, I have two radio buttons, RadioButtonGroupByKey5 and RadioButtonGroupByKey6, both with "Yes" and "No" Enumerations. RadioButtonGroupByKey6 is invisible. Now, I would like to have in case of pressing "No" in RadioButtonGroupByKey5, RadioButtonGroupByKey6 going to be visible and usable. If "Yes" in RadioButtonGroupByKey5 then RadioButtonGroupByKey6 will be still invisible. Any advice, piece of Java code will be welcome. I tried to bound them in such way, wont work ofc:

class visible(IWDAttributeInfo attribInf, ISimpleType simpleType, IWDComponent component,String value, String id, String number, WDMessageType type, String message,  IWDNodeElement invalidContextElement)
IWDAttributeInfo attribInf = wdContext.getNodeInfo().getAttribute("RadioButtonGroupByKey5");
		ISimpleType simpleType = attribInf.getSimpleType();
		Set set = simpleType.getEnumeration();
		String value = "No";
		if(set != null)


Former Member
Not what you were looking for? View more on this topic or Ask a question