cancel
Showing results for 
Search instead for 
Did you mean: 

Hidding the UI elements in adobe form

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Anto..;

I have tried using the mousedown event ,,but still it didtn wrk

Any change of code and language ..pld gimme a code snippet

Thanks

swathi