Summary of Boston.pm job posting policy:
Job postings may not be posted directly to the list. Instead, job postings
should be sent to [EMAIL PROTECTED] I will review each posting, and
either post it to the list or return it to the sender for editing.
For the full job posting policy, see:
Hello,
Is there a simple way to allow a user to update his/her profile using a cgi
form? Here is my flow.
1. A user is asked to enter an id in a textfield and click an OK submit
button.
2. The id is used to retrieve the profile data from a database
3. The profile data get
On Jan 17, 2008 2:54 PM, Xiong, Bob [EMAIL PROTECTED] wrote:
Here is my problem. I couldn't get the newly entered updated information
from
the fillable textfields using a construct like $new_phone_num =
param('phone'). Is this due to creating a nested form?
Hard to say what the problem is
Sure. Please see my code snippet below.
use CGI ':standard';
generate_form();
do_work();
sub generate_form {
print start_form;
print ID# , textfield('id');
print submit('Action', 'OK');
print end_form;
}
sub do_work {
if (param('Action') eq 'OK') {
# fetch record from