CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Make text field B inherit the any changed value of text field A

Print topic Send  topic

Author Message
bigtoe

Posts: 115
Posted: 10/07/2005, 5:06 PM

In a CCS project, on this "Status" page I have many text fields.

In particular,
A = "Name of Contact Person"
B = "Send Copy To"

Both fields are 50 characters and editable.

I would like to set the default such that B is always depends on A:

1. Every time the user enters (or updates) the information
in "Name of Contact Person" it is automatically copied
into "Send Copy To".

2. Because 90% of the time it is the same person.

3. The user can still change the information
in "Send Copy To" and have no impact on "Name of Contact Person".


How can I do this?

View profile  Send private message
Damian Hupfeld
Posted: 10/08/2005, 4:35 AM

Maybe something like this would work?

Add custom code in after insert that checks if there is a value in field B
and if there is not then copy the value from field A.

regards
Damian




"bigtoe" <bigtoe@forum.codecharge> wrote in message
news:543470d6f8b3a3@news.codecharge.com...
> In a CCS project, on this "Status" page I have many text fields.
>
> In particular,
> A = "Name of Contact Person"
> B = "Send Copy To"
>
> Both fields are 50 characters and editable.
>
> I would like to set the default such that B is always depends on A:
>
> 1. Every time the user enters (or updates) the information
> in "Name of Contact Person" it is automatically copied
> into "Send Copy To".
>
> 2. Because 90% of the time it is the same person.
>
> 3. The user can still change the information
> in "Send Copy To" and have no impact on "Name of Contact Person".
>
>
> How can I do this?
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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