Form Issues, Help!

Discussion in 'Programming' started by Annie Eff, May 12, 2008.

  1. #1
    I'm having a few problems with a form located at www.ezrahomecare.com/reqforservices.html

    1.) If a user clicks YES to request a brochure, I need the fields below it to automatically become required (i.e. name, address, etc..)

    2.) The form is being used through the hosting company, however, on SUBMIT, I would like the page to be redirected to a thank you page that I will create.

    3.) In the "services" check box area, there seems to be a glitch where some boxes are automatically checked when another is clicked on, I need to get rid of this!

    Any help would be much appreciated!
     
    Annie Eff, May 12, 2008 IP
  2. apmsolutions

    apmsolutions Peon

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    1. Are you doing client side validation, or strictly server side? When do you want them to know that specific fields are required? After they submit, or before?

    2. You can issue the location object with Javascript: location.href='thankyou.html';

    3. Remove the <label> and </label> surrounding the options.
     
    apmsolutions, May 12, 2008 IP
  3. Annie Eff

    Annie Eff Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm doing client side validation.

    I'd also like the user to know it is required after they select that they would like a brochure.
     
    Annie Eff, May 12, 2008 IP
  4. apmsolutions

    apmsolutions Peon

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    On the form even "onSubmit" call a function that checks if the brochure is checked. If it is, then validate your required fields.
     
    apmsolutions, May 12, 2008 IP
  5. Annie Eff

    Annie Eff Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    My programming skills are non existent, I don't even know where to start with the coding.
     
    Annie Eff, May 12, 2008 IP