...

View Full Version : bolding input in HTML form fields passing to another page ?



bwall
06-01-2005, 08:03 PM
I would like for my admin messageBoard message insertions to be shown in bold. I have a admin area in my site and it allows the admin to insert messages. My question is can the HTML form fields be coded to insert bolded information? This is a PHPsetup for the processing.



Email:
<input type='text' name='email' size='51' font='bold'>
MessageTitle:<br>
<textarea rows=3 cols=20 name='messagetitle' wrap='virtual' font='bold'></textarea>
Message:<br>
<textarea rows=4 cols=50 name='message' wrap='virtual' font='bold'></textarea>


My codes a little messy right now. I can add the messages ok. They are not coming out with a bold font, they are coming out in regular font.

I tried this from anothers idea, it works on the add page by making the characters typed in the fields bold. When I send it to the server and then to messageBoard it comes out in regular font though??
use style="font-weight:bold" on all fields or simply define the same in the css


Thanks
Bob

JimB
06-01-2005, 08:12 PM
You should be editing the display page and add bold to where the information is displayed.

Another thought would be to try adding the bold tags to the content you are entering into the form. When the page is displayed, it might render the HTML code.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum