Expand my Community achievements bar.

SOLVED

Email button not working

Avatar

Level 4

Good Morning,

I recently discovered that a form I had created a while back with an email button no longer has that button working.  The address to email to depends on the selection in a "Vendor Type" drop down menu.  It used to work just fine.  I looked at old copies of the form to see if something had changed and there was nothing that I could see. I tried playing around with the scripting and the type of button, but nothing is working.  Could you please help me out and let me know what I need to fix.  I'm including a link to the file.

Thanks so much!

https://acrobat.com/#d=vP-etosUAP3OHzDejd7x5g

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

There were a few small issues:

  • The script references an object "Email1", whereas the object name did not have a 1 in it.
  • The last switch case tested "All other venders", whereas the display item was "All Other Venders", with capitals.
  • I think there was an extra line in the switch statement

Here is the form back again:

https://acrobat.com/#d=*TPivOUfR4NsJMW*pUCPaQ

Niall

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

There were a few small issues:

  • The script references an object "Email1", whereas the object name did not have a 1 in it.
  • The last switch case tested "All other venders", whereas the display item was "All Other Venders", with capitals.
  • I think there was an extra line in the switch statement

Here is the form back again:

https://acrobat.com/#d=*TPivOUfR4NsJMW*pUCPaQ

Niall