Ok, Perl gurus. I bet the answer to this question is very simple however I'm beating my head on the monitor cause I can't find the answer.
I m working on a basic submit form for my page, where users fill out textfields and i carry the variables to the other page, they have a few more questions and proceed to the next step. Then I have a confirmation page with all the varibales printed out on it. Now, I want to have
<a href> link next every varibale saying EDIT and give them ability to change it before sumbitting the form. The question is how do i assign a value to the varibale in HTML link?? basicaly the page would look like that:
Company Name :[company] Edit
Contact Name: [contact] Edit
Whatever: [whatever] Edit
So , let's say I want to change the value of
[company].
I need to click on Edit next to it, and have it do something like that
[edit]=[company],
and then open a page having
[edit] in the textfield so they can change the value of it. And then after clicking on Submit return to the previous page and reasign the value so
[[company]=[edit]
I hope it explains what im looking for. Thank you.
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.