Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » Forms and Modal Windows

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 544 Views
  • EML
    Avatar
    Community Member
    2 Posts

    Forms and Modal Windows Link to this post

    Does anyone have any example code for creating, validating and submitting a form via a modal window? I can get a modal window (via either colorbox, fancybox or thickbox). And I can create, validate, and submit a form... I just can't seem to combine the two things!

    I'm basically looking to add an 'Email More Info' button to a product page.

    Cheers,

    Graeme

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Forms and Modal Windows Link to this post

    I would advise that you stick to JavaScript only validation and this will provide the validation without needing submit the form to a PHP process

    544 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.