It's all about the answers!

Ask a question

Make the text field mandatory on the select of yes form the radio button


Sajjad Ali Khan (314152) | asked Aug 13 '15, 3:55 a.m.
 Hi,

I have two customize controls in my customize change request work item of RTC 
1, radio buttons (Yes, No)
2, text field (read-only)

Condition which i need to apply:
When a user click 'Yes' from the radio button then the 'text field' will become mandatory and if user click on 'No' then the 'text field' will remain read-only.

please help me how can i make this condition 

Accepted answer


permanent link
Arun K Sriramaiah (3.2k23677) | answered Aug 13 '15, 6:30 a.m.
 HI Sajjad,

Please find the similar forum link below.

https://jazz.net/forum/questions/178675/attribute-customization-condition-script-requirements

Regards,
Arun.

Sajjad Ali Khan selected this answer as the correct answer

One other answer



permanent link
Sajjad Ali Khan (314152) | answered Aug 13 '15, 7:23 a.m.
Hi Arun K Sriramaiah,

I'm really bad at scripting can you please help me for working script ?

following are the related information:
ID radio button control attribute ID: projectAB.attribute.rfcisaproject
Type: projectAB.enumeration.rfcisaproject
ID for option Yes: projectAB.enumeration.rfcisaproject.literal.12
ID for option NO: projectAB.enumeration.rfcisaproject.literal.13

ID for text field control attribute ID: projectAB.attribute.EPMOReference

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.