QuickForm: Change value of submited field
| From: | Joel Junström | Date: | Tue, 16 Nov 2004 18:51:21 +0000 |
| Subject: | QuickForm: Change value of submited field | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15624@lists.php.net to get a copy of this message | ||
Hi.
The senario:
I have a form with a select field (defined_amount) and a text field
(user_amount).
The problem:
I'm sending the form to another server where they take the
'defined_amount' field (has to have that name) and does something..
But! If the user has filled in the 'user_amount' field, I want it to
overwrite the 'defined_amount'.
Am I making any sense?
I' thought I could create a rule for it somehow but I'm so far unsuccesfull..
Grateful for any pointers
/ Joel