SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2006
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JQuery / JavaScript forum form

    Hi All.

    Looking for a little help if possible.


    I'm trying to add a feature on my forum with the use of JQuery or JavaScript.

    I would like extra fields for members to fill in along with the normal "message" area such as below.



    And once the message is submitted, it should display the message in the following manner;



    I have been told the using a JQuery or JavaScript form and intercepting that information upon the message submit in order to display the input information in the message body.


    Has anyone got any idea of how this can be achieved ?

    Regards

    Jake

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Do you want that information to be displayed only to the person who entered it, or to other people as well?
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2006
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by paul_wilkins View Post
    Do you want that information to be displayed only to the person who entered it, or to other people as well?
    Hi Paul,

    Preferably everyone who reads the forum thread should be able to see that information in the thread.

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by snowgoose View Post
    Preferably everyone who reads the forum thread should be able to see that information in the thread.
    You need to be informed then that JavaScript will not be able to achieve that for you.

    Instead of client-side scripting, which is JavaScript, you need server-side scripting and database support.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    SitePoint Enthusiast
    Join Date
    Oct 2006
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, thanks Paul.


Bookmarks

Posting Permissions

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