on 01-25-2009 9:24 AM
Hi all,
I have an adobe form that was populated by some default values from a node. I would like to have a button that would restore the form into the default values.
any ideas on how to achieve this?
hi,
1.u can initialize values for ui elements in ur adobe form using wddoinit() method in ur view.
if u have
value node:Data
under it if v have value attributes---- fname,lname.
MyView---name of the view
IPrivateMyView.IDataElement elem = wdContext.nodeAddressNode().createDataElement();
elem.setFName("xxx");
elem.setLName("yyy");
wdContext.nodeData().bind(elem);
2.add the method RestoreForm in ur formview.
3.In the implementation part of onActionRestoreForm call wdDoInit().
use th following link (PAGE 6),
regards
Jayapriya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.