Can I make attribute readonly in current state after clicking on save button?
![]()
shweta ranaware (37●1●7●50)
| asked Jul 09 '17, 11:37 p.m.
edited Jul 10 '17, 3:03 a.m. by Ralph Schoon (62.7k●3●36●43) Hello All,
Let me explain scenario first, I have Enumeration with Yes, No, Unassigned values. I used applied this enumeration values to radio button attribute. now If in some particular state user selected radio button option(Any option from above Enumeration) then if user selected values between Yes or No and then click on save button once he/she click on save button attribute should become readonly in current state.
Is it possible to achieve this using any script, followup action, or any out of box solution.
If it is possible using follow up action then what will be the logic to make attribute read only in current state.
Thanks in Advance.
|
Accepted answer
![]()
Ralph Schoon (62.7k●3●36●43)
| answered Jul 10 '17, 3:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Unfortunately the description is not very clear, however the basic mechanisms available are advisors/pre-conditoons Read-only by type and state and read-only for condition where you can provide a JavaScript or Java Condition. You can
Ralph Schoon selected this answer as the correct answer
Comments Hi Ralph,
Thanks for Reply. As you explained above we can use advisors/pre-conditoons Read-only by type and state and read-only for condition.
How I can Achieve the below scenario:
I have one radio button with Yes, No , Unassigned options. default value of radio button is Unassigned. In particular state If i select any option "yes" or "No" then after clicking on save button "radio button" attribute should become read only.
that means Once I select option value from radio button that attribute should become readonly. How I can achieve this using readonly condition.
As already stated, unfortunately the description is not very clear, so I won't answer it as I don't understand it, really.
Hi Ralph,
thanks for feedback.. my simple requirement is to make attribute readonly after clicking on save. so Is it possible to make attribute readonly in current state after entering value into that attrubute.
No. You only make an attribute read only based on some value. "After save" is not a valid condition.
|