Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Form challenge... making a separate field URL variable

Participant ,
Dec 16, 2020 Dec 16, 2020

snap.pngexpand image

Here is my challenge (by a client).. they want an pdf form they can email to prospective buyers that contains just place to click to launch a URL sample floorplan for whatever lot the client chooses (from several).

If someone selects LOT1 for example, the url for the web icon below would become active for www.lot1.com, but if they select LOT4 then www.lot4.com would become active... all the urls would have be stacked on top of one another... How do I make 'LOT1" URL the only active one when LOT1 box is checked?

The client does NOT want the URL link to be on each property, just in ONE spot on the pdf (that would have been easy). I can do the pop-up image in layers and submit for quote as a data form email, this has stumped me ( Thanks in advance. 

TOPICS
JavaScript , PDF forms
891
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2020 Dec 16, 2020

You can use the Mouse Up event of the check-box field to populate a button with the URL (using buttonSetCaption) and set the button's Mouse Up event to launch the URL it's currently showing (using app.launchURL and buttonGetCaption).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 16, 2020 Dec 16, 2020

Thank you, that wouldn't populate the URL in a place different than the button would it? Client was wanting a two-click process - first on LOT they like, second lower on page on WEB icon. While waiting for a response I've been trying an alternative, but even this simple form won't work. I'm about ready to punch myself. 

 

This pdf form is killing me (I'm a designer, not a coder). This pdf is a TEST. I have a popup of LOT 1 (fine), the weblink button works (fine), the email form doesn't (dang). I can't even get the buttons to be invisible or just appear on layer 2. I was smarter 5 years ago, by far. I have $19 in paypal if someone wants coffee money. I just need one working pdf that I can copy and paste script from. I'm exhausted

 

https://shared-assets.adobe.com/link/b857624a-6d22-4efe-4569-1f8b3ca414ad

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2020 Dec 16, 2020

What should happen if more than one check-box is ticked, though?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 17, 2020 Dec 17, 2020

One only per submission, that way the salesperson can return a quote on one at a time. If a client checks three lots they'll get three emails back. Client choice. It's 5:21am and I'm again trying to figure out how to make this work. (

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 17, 2020 Dec 17, 2020

I implemented it in the attached file for the check-box on Lot 9 (and I added a hidden text field to hold the URL and a button to open it): https://drive.google.com/file/d/1keK_B9RUjaScyejsOSRHvwzok4oC7q_9/view?usp=sharing

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 17, 2020 Dec 17, 2020
LATEST

thanks I'l check it in a few hours Im on ad design mode hard to switch at this age )

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines