[Boston.pm] [job] Perl Contractor, Newton

2008-01-17 Thread Ronald J Kimball
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:

[Boston.pm] cgi form question

2008-01-17 Thread Xiong, Bob
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

Re: [Boston.pm] cgi form question

2008-01-17 Thread Mike Williams
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

Re: [Boston.pm] cgi form question

2008-01-17 Thread Xiong, Bob
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