on 03-21-2007 7:08 AM
Hi all,,
I have requirement of changing the visible state of UI elements in the adobe form with a change of state of another UI element
For eg ..
I need to hide a subform (with elements textfeilds,,buttons etc) when i click a checkbox.
I have tried FormCalc script and some foroums..
But thers no result
I have written somethng like dis
if($record.checkfield= 1)
then
Subform3.presence="invisible"
Subform.name.presence="invisible"
else
Subform3.presence="visible"
Subform.name.presence="visible"
endif
wher name is the textfield ID..
I have tried using all Show--change/click/form:ready/calculate.Still lost here..
wher exactly should i place..anyone with the exactcode
I have SP9,Adobe7.0.9
where to set whether the property whether the adobe is static or dynamic?
whats the code to be written in wdDomodfiyView() for this?
Please i have to solve this,,can any one give solution with exact code.
Swathi
Hi,
your adobe form must be dynamic for this functionality. If you use WebDynpro Java, you must insert the following code to wdDomodfiyView() :
if(firstTime) {
IWDInteractiveForm iForm = (IWDInteractiveForm)view.getElement("YOUR INTERATIVE FORM");
iForm.setDynamicPDF(true);
}
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swathi,
If i remember rite.. try using the script in the 'mouse down' evwent of te check box..
Also try yusing "hidden" instead of "invisible".
Please update if this helps.
Thanks and Best regards,
Anto.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.