Print Page | Close Window

List/Combo field option populated by other entries

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: JavaScript
Forum Description: Discussions relating to the use of JavaScript within PDF.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=1124
Printed Date: 24 Apr 2019 at 7:06am
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: List/Combo field option populated by other entries
Posted By: Maki
Subject: List/Combo field option populated by other entries
Date Posted: 25 Feb 2014 at 7:43am
Hi!

How do I populate list/combo options from values of text fields entered by the user?

It is part of my dog club application form (again). Membership is by household/family and there are text fields to collect names of all family members that may be handling dogs on our grounds.  I would like to have these family members' names appear as options for dog's handler list, as each dog has to have one dedicated handler from the family.

I have created a http://bit.ly/1hss4TR - simplified form to demonstrate what I'm trying to figure out.

The names that go into GivenName and Surname text fields should appear in HandlerList field as options.  There will have to be at least one handler and one dog but it is not required to have all 5 handler and 2 dog fields filled in.

One little hitch is that if there are two dogs and both are to be trained on the same day, either Thursday or Sunday, then the same person cannot be handling both dogs.

I've searched web for solutions but could only locate one list/combo box change options of another.

Could someone help me out writing javascript for this?

Thank you.

-------------
Maki@Canberra, AUS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net