Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy bolding input in HTML form fields passing to another page ?

    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.

    [HTML]
    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>
    [/HTML]

    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

  • #2
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    Last edited by JimB; 06-01-2005 at 08:17 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •