Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Paragraph breaks in textarea field only for preview page generated by CGI::Formbuilder

by AJRod (Scribe)
on Jun 15, 2004 at 04:51 UTC ( [id://366773]=note: print w/replies, xml ) Need Help??


in reply to Re: Paragraph breaks in textarea field only for preview page generated by CGI::Formbuilder
in thread Paragraph breaks in textarea field only for preview page generated by CGI::Formbuilder

Thank you for broadening my already becoming myopic focus on Formbuilder as the locus of the solution.

Do you know of a way I can accomplish your suggestion using HTML::Template? I don't know enough of it yet but I'm willing to squeeze what time I have to learn from Template toolkit, though it will take a long time, and longer perhaps to advocate its use by our people at IT or even by other hosts. Not to mention that proposing it will rock the boat of designers here who are already familiar... correction... who have already sedentized their mindset into HTML template.

Actually, I already made one attempt, at least, in the area of display logic. In the template, I used a <pre> tag to surround the field value. It preserved my data but its display differed from one browser to another, depending on whether they support the deprecated width property of <pre> or not. Does this confirm my growing realization that this and similar moves lead to a dead end as well?

I know that this was not the solution you were suggesting, I was just musing on alternative rays of light which the erstwhile "forbidden" TT2 offers with its very tempting html_para_break() filter. (Musing also if this view is an excuse for my laziness.)

Hoping these meditations are not yet too much for you.

Tata.

  • Comment on Re^2: Paragraph breaks in textarea field only for preview page generated by CGI::Formbuilder

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://366773]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found