CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Help with combining two fields in a form

Print topic Send  topic

Author Message
Sherri
Posted: 12/20/2004, 7:12 AM

Here's what I'd like to do:

I have a record form, with three fields:

PollID
VoterLocation
VoterUnique

The PollID is already pre-filled from the database.

The user will select VoterLocation from a drop-down list.

Once the drop-down selection is made, I want the VoterUnique to display a string with both fields (PollID and VoterLocation) combined.

Example:

PollID = 5
VoterLocation = TN
VoterUnique should display = 5TN

Any help is greatly appreciated.

Thanks!
Ozum

Posts: 57
Posted: 12/30/2004, 2:31 PM

Give all them ID's. PollID, VoterLocation and VoterUnique

Put this into drop down selection tag of VoterLocation

  
onChange="document.getElementById('VoterUnique').value = document.getElementById('PollID').value + document.getElementById('VoterLocation').value"  

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.