Gossamer Forum
Home : Products : DBMan : Customization :

Passing Values- Form to Form w/o Using "Hidden"?

Quote Reply
Passing Values- Form to Form w/o Using "Hidden"?
I know this is simple and I've searched & read posts, but I
haven't seen it addressed:

Example: I have forms A, B, & C. Each form has 5 fields, the database has a total of 15 fields.
Form A = 1-5
Form B = 6-10
Form C = 11-15

If a user modifies Form B, then the entries he put in Forms A & C get "wiped out". My work around is to use hidden fields in each form (Example: A has fields 6-15 hidden with inputs (VALUE="$rec('fieldname6'}") and B has 1-5 and 11-15 and so on.

Now, I'd like to put something like &get_record (or %rec) or something in the html.pl where my forms are so I don't have to have so many hidden fields. Basically I want the sub-routine to get the information from the db record without having to manually specify every field using the hidden tag. - In reality we are looking at a loan application with Borrower/Co-Borrower information and about 500 fields total. Multiply that times 50 or so forms (pages) combinations and you get the idea.

Anyway... if anyone can tell me what to search on I'd be more than happy to.

PS: I just bought "Perl for Dummies" and I highly recommend it for people like me since it explains what all those $, %, #, !, &, signs do.

Quote Reply
Re: Passing Values- Form to Form w/o Using "Hidden"? In reply to
This is what you are looking for...

http://www.uniopp.com/dbman/multipage.txt