on 07-23-2008 12:39 PM
Hello Gurus,
i have a offline form with few input field and radio buttons and a SUBMIT button, once the user clicks on the submit buton the form is send as a attachment to a predefined email id.
My requirement is that when the user clicks on the SUBMIT buton, all the fields should be changed to readonly mode.
What type of button should i use, since it is a offline form.
which event should i write the code that when the submit button is clicked, all the fields become readonly.
Mohammed,
Use the access property for the elements and write the code in preSubmit event.
Sample code I have shown below.
----- form1.#subform[0].TextField1::preSubmit:form - (JavaScript, client) --------------------------
TextField1.access = "readOnly";
TextField2.access = "readOnly";
TextField3.access = "readOnly";
Additionally check LiveCycle Designer Help and below blog for more information on access property:-
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3092
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.