Expand my Community achievements bar.

Show/Hide image or text based on a drop down list

Avatar

Former Community Member

Hi,

I have looked all over the the forums and found some example but none completely relate.

I am building a fax coversheet for different locations and would like a footer to show based on a drop down list.

I don't know how to add a file to the forum, but I do have an example.

I don't know how the text box should be set up (visible, invisible or hidden)

Any help is appreciated.

Thanks in advance,

IAN

https://acrobat.com/app.html#d=E009pSpNPlbKYE4b6mWPkw

3 Replies

Avatar

Former Community Member

The attached uses the calculate event of a text field based at the foot of the master page to capture the city from a drop-down.

// form1.#pageSet[0].Page1.footer::calculate - (JavaScript, client)


this.rawValue = form1.page1.city.rawValue;

Steve

Avatar

Former Community Member

Thanks Steve,

I should have be more specific.

Our Fax sheet is currently 21 different forms with an image footer of location address and phone number, which is different for each form.

I want to create 1 form that auto shows the address info based on the location dropdown.  My thought is a show/hide that appears based on the location chosen.  The footer can either be an image or text, either one will work.

If you are able to help, that would be most appreciated.

Thanks again,

IAN

Avatar

Former Community Member

I found this answer from another question that fixed my problem.

Thanks to Niall.

http://forums.adobe.com/thread/756259?tstart=0