6/15/2016 3:16 amJamie

If thats correct how do you structure an if statment to wrap the modal code in?

is this the way?

<?php if ("".$_COOKIE['formSubmitted'] ."" != "Yes") { ?>

<?php } ?>

EDIT. Have tried the above and it works, however if validation fails the modal disappears (as the submit button has been pressed) and I would assume that the 'thanks' message would not display either.... how would I get round this?

0

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.