It's all about the answers!

Ask a question

If/Else conditional select for a form in RTC


Pooja Biwalkar (48924) | asked Jun 24 '14, 11:14 a.m.

Hi,

How can I implement IF/else functionality in one of my forms? What I am trying to do is-

-If the user selects one field as Yes then then next textbox which is a dependent of that should appear and the user should be able to make teh selection.

-But if the user selects No in the first field,then the second text-box should either be disabled or vanish from there.

Thanks

One answer



permanent link
Lily Wang (4.9k714) | answered Jun 25 '14, 1:22 a.m.
 You can use Dependent Enumeration value set. Please see the document https://jazz.net/help-dev/clm/topic/com.ibm.team.workitem.doc/topics/t_configuring_dependent_enumeration.html

For the requirement:
-But if the user selects No in the first field,then the second text-box should either be disabled or vanish from there.
If the source attribute has value "No", you can uncheck any value of dependent enumeration, then the field would become to grey when user select No.

Your answer


Register or to post your answer.