Hi,
I am a new comer to CGI.pm and find it extremely useful. I have created multi-form pages and with little struggle have succesfully been able to save states from one form to another (from one page to another). Two groups of
people will be using the mutli-form pages to fill out the fields.
GROUP A fills out pages 1, 2, 3.
GROUP B fills out pages 4, 5.
I have used save_parameters and restore_parameters to bring back the forms partially filled out. My dilemma now is:
when I bring the forms back for the second group (GROUP B) to fill out their sections (page 4, 5), I want to "gray" sections 1, 2, 3 (pages 1, 2, 3 in view access only but not hide them) that Group A had already filled. Not give GROUP B access to enter text in fields for pages 1, 2, 3 but be able to display information. I don't want to use hidden() because it would hide the fields entriely. I want to display fields in pages 1, 2, 3 in view mode only
for GROUP B but give them write access to pages 4,5.
restore_parameters bring all pages and all fields in write access.
Does anyone have an idea how manipulate this one? Any help is appreciated. Thanks.
edited: Mon Jul 14 23:04:40 2003
by jeffa - title change (was: Multi-forms in CGI.pm)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.