Your question is very hard to follow. I think the second part you are actually asking about javascript but i am not sure. Something like when a user enters a text description for a title in your form, another html form field is automatically filled? Or are you asking how to do this on the backend inside the perl cgi? Both ways will work but each require a different solution.

The first part i think maybe the value is being set correctly but you can't see it because you are outputing the result and viewing via html which means the value"<font size=4>" is not viewable unless you view source code?

Please note that html questions do occasionally get answered here if they are clearly written. Spend a little more time on your question. Make sure it is very easy to follow. I have asked questions here before which take hours to compose. It's the only way i can be sure and get a good answer.

Good luck

jtrue

In reply to Re: OT: values not working. by true
in thread OT: values not working. by fred1010

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.