Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - How to combine value of checkbox with textfield ?
  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.

How to combine value of checkbox with textfield ?

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


Joined: 05 Mar 2015
Location: Polska
Points: 8
Post Options Post Options   Quote Robert1977 Quote  Post ReplyReply Direct Link To This Post Topic: How to combine value of checkbox with textfield ?
    Posted: 10 Dec 2016 at 11:43am
Hi,
I've to do simple thing, I have two checkboxes: A and B + one textfield.
If I check checkbox A it should cause that in textfield apears number "4", if I I check checkbox B it should cause that in textfield apears number "8". If neither checkboxes are checked texfield is empty.
I suppose simple javascript id needed, PLEASE HELP.
https://www.iform.pl/txtfile/example.pdf

Thanks,
Robert
Back to Top
Sponsored Links


Back to Top
Merlin View Drop Down
New Member
New Member
Avatar

Joined: 03 Jun 2012
Location: 43.95 N / 4.82
Points: 39
Post Options Post Options   Quote Merlin Quote  Post ReplyReply Direct Link To This Post Posted: 13 Dec 2016 at 1:18pm
Hi.

You don't need any script.
Use the "Export value" in the 2 checkboxes, then ask the text field to make the sum.

Example: uploads/615/example-ok.pdf
Back to Top
Robert1977 View Drop Down
New Member
New Member


Joined: 05 Mar 2015
Location: Polska
Points: 8
Post Options Post Options   Quote Robert1977 Quote  Post ReplyReply Direct Link To This Post Posted: 13 Dec 2016 at 2:05pm
Hi,

Thaks, I have already done it using script but You showed me easier way I didn't know :)
Thank You again :)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

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

This page was generated in 0.031 seconds.