For the front end, not the CMS, I am trying to display a form in a javascript (greybox) popup but I am having no luck.
I have a button on my main page labeled 'Signup'. I was hoping to get this button to launch a javascript popup in which the user fills out a form with their details and submits it. On submission the popup would then display a thank you message.
I have tried a number of approaches including echoing javascript from the 'doSubmit()' function but am obviously missing something.
What would be the best way to go about this? I would really appreciate any help at all.
Thanks!