Dynamic form fields.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
BJ
Forum Newbie
Posts: 1
Joined: Fri Dec 05, 2003 2:59 pm

Dynamic form fields.

Post by BJ »

Does anyone know the PHP code to accomplish the following action?

When submitting form A, if the value entered in form A field “Qualified” equals “No”,
Then form A field “Client ID” = the value of Recordset1 field “Client ID”.
User avatar
Sevengraff
Forum Contributor
Posts: 232
Joined: Thu Apr 25, 2002 9:34 pm
Location: California USA
Contact:

Post by Sevengraff »

Code: Select all

if( $_POST['qualified'] == 'No' ) {
    echo '<input type="text" name="client id" value=" ' . getinfo() . '">';
}
something like that?
Post Reply