Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions

Forms and Modal Windows


Reply

2 Posts   557 Views

Avatar
EML

12 June 2012 at 2:13am Community Member, 2 Posts

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

Avatar
swaiba

12 June 2012 at 2:58am Forum Moderator, 1796 Posts

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