Announcement

Collapse
No announcement yet.

Form Submit onChange?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Form Submit onChange?

    I don't think this is possible but I have a client who has requested that the customer fields change depending on the customer type.

    I added a custom customer field for 'customer-type' and I use it as a drop-down select box at the top of the customer fields. His idea is that if someone selected a customer type of 'Individual' the Company field would disappear.

    I'm not even sure I could get the form to submit with a selection box onChange event. But if I could I assume it would throw errors unless every customer field was set to optional.

    Does anyone have a idea of how to do this or should I just tell the client sorry, can't do that.
    Gary

    [email protected]
    www.icCommerce.com

    #2
    Re: Form Submit onChange?

    You could cheat and have the drop down box submit the form and direct to another page that was specific to the selection.
    Kent
    www.awindofchange.com

    ~~Once you take flight your eyes will forever be turned skyward~~

    Comment


      #3
      Re: Form Submit onChange?

      Or have the drop down actually just show/hide the fields. You'd have to give each field area (its a div, so handy) an ID (say of the field "NAME" value).

      But personally, its a bit of work for what amounts to a stupid feature (as explained). Why make me, the customer, think. What advantage to I get? Oh, I see if I see, read, understand and use this dropdown, I don't have to leave the Company field empty<G>.
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment

      Working...
      X