Expand my Community achievements bar.

Dynamically Locking/ Unlocking fileds

Avatar

Former Community Member
Is there any way by which we can dynamically lock and unlock fields in LiveCycle?



I have a radio button with options Yes and No.



If yes is selected I want to lock all the fields (numeric boxes, drop down lists, text boxes) below the button.



If no is selected, I want all the fields unlocked and available.



Sorry if it seems a naive question. I am new to LiveCycle.



Waiting for response...
15 Replies

Avatar

Former Community Member
If you wrap everything below the button in a subform then we can get XFA to return back each object (one by one) in that subform and we can lock it. Would this be acceptable?

Avatar

Former Community Member
Thank you Paul for your reply!



Yes, it would be perfectly acceptable. could you please help me with a working example (maybe, of a drop down list) to lock and unlock it?



I am new to LiveCycle and having trouble coding it.



Thanks again.

Avatar

Former Community Member
If you post your email address I will send you a sample that shows how to get all of the fields.

Avatar

Former Community Member
Hello Paul,



My email address is: ssg141@gmail.com



Thank you so much

Avatar

Level 2

Can I get a copy of the sample on how to lock/unlock fields in Live Cycle designer ES?

Thank you for your help! Shanzel11@netzero.com

Avatar

Former Community Member
I got the sample. Thank you for your help Paul.

Avatar

Former Community Member
Hi Paul,

can you email me that file too.

Ducati@canada.com



I'm trying to do it on my own, and seems like a never end story.

thanks



Steve

Avatar

Level 1

Hey Paul - Do you still happen to have the sample code for this?  If so, can you please send to

marc.siebrecht@gmail.com?

Thanks!

Avatar

Former Community Member
Hello Paul,



I am also interested in this solution. Would it be possible for you to email me as well? m_wennbom@yahoo.se



Thanks in advance!



Miriam

Avatar

Former Community Member
Hi Paul



I am also interested in this solution. Would it be possible for you to email me as well?



itiba.naqvi@avanzasolutions.com



Thanks in advance!



Syed Hussain Itiba Naqvi