Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Need a Radio Button to have a value
  FAQ FAQ  Forum Search   Register Register  Login Login


Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Need a Radio Button to have a value

 Post Reply Post Reply
Author
KudosStudio View Drop Down
New Member
New Member


Joined: 19 Nov 2015
Points: 1
Post Options Post Options   Quote KudosStudio Quote  Post ReplyReply Direct Link To This Post Topic: Need a Radio Button to have a value
    Posted: 19 Nov 2015 at 6:15am
Hi guys, I have a form that has some fields that calculate a TOTAL $ which is done with this formula

var a = this.getField("totalA").value +
this.getField("totalB").value;

event.value = a;

Now I need to add two Radio Buttons that have a value of $100 and $200 so when the person selects one or the other it calculates the additional amount in the TOTAL $.

I've tried to add a value to the Radio Buttons but I get an "The value entered does not match the format of the field [ total ]" message every time.

Any solutions will be appreciated.
Joe
Back to Top
Sponsored Links


Back to Top
try67 View Drop Down
Senior Member
Senior Member


Joined: 15 Jul 2011
Points: 610
Post Options Post Options   Quote try67 Quote  Post ReplyReply Direct Link To This Post Posted: 21 Nov 2015 at 10:04am
Set the export value of the radio-buttons as "100" and "200". Do not use the $ symbol!
- Acrobat Expert - Contact me personally at try6767@gmail.com
Check out my custom-made scripts website: http://try67.blogspot.com
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.09
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.016 seconds.