What are Input Forms used for? Please Reply ASAP

Discussion in 'HTML & Website Design' started by wd_2k6, Apr 23, 2008.

  1. #1
    Hi,

    Can somebody please tell me a use of INPUT Forms,
    without the use of any additional Javascript?

    I need 2 uses very quickly, but i cannot figure out what they would be used for if no JS can be used along with it!!

    Please help i would be very very greatful!!
     
    wd_2k6, Apr 23, 2008 IP
  2. rebrain

    rebrain Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    login data

    message posting
     
    rebrain, Apr 23, 2008 IP
  3. CreativeClans

    CreativeClans Peon

    Messages:
    128
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    About anything you want where user input is required, as long as you back it up with a server side script (for example PHP).
     
    CreativeClans, Apr 23, 2008 IP
  4. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Could we display different data based on user selection in a drop-down-box?
    For example if option one in selected in the box then display this, if option two is selected in drop down box then display this and so on?
    Is this possible via HTML only, for example without any scripting at all?
     
    wd_2k6, Apr 23, 2008 IP
  5. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Nope. Listen to yourself:
    If, then, if, then.. that's scripting of some sort-- and if you want it to happen just from selecting the dropdowns and NOT waiting until after Submit is hit, then you'll need AJAX or something similar that can run on the user's browser in "real time".

    If it's supposed to do stuff after the selections are made AND Submit is hit, then any backend script can deal with it-- Perl, Python, PHP, blah.

    HTML/CSS alone? No. Possibly in the far far future of CSS3 and regular expressions, but even then... plus, that's still working draft so we're in for a long wait.

    For your original question, the "without any additional Javascript" part... you don't actually need any JS, just a script running on the server that can deal with the submit-action of the form.
     
    Stomme poes, Apr 23, 2008 IP
  6. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No, I wouldn't think so. JS or some other programming language would be required.
     
    nicangeli, Apr 23, 2008 IP
  7. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ah I see, I think us DP users should create CSS3 we could do it no time!
     
    wd_2k6, Apr 23, 2008 IP
  8. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Bleh, it'd be full of "Earn money easy on teh intarwebz!!" and spamz : )

    CSS3 has been broken up into modules, so they can be approved (become a recommendation) seperately... but it's huge, seriously, huge. There's tons of people working on it and it's just slow going.

    Besides, submitting a form or changing the HTML is a behaviour, and really does belong to scripting.
     
    Stomme poes, Apr 23, 2008 IP