hi, i have two javascript functions. One is for email validation and the
other to initiate a pop up window with a confirmation. <script
language='JavaScript'> function validateEmailAddress(obj, formObj, formValue) {
var regex = /^[a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$/; return
regex.test(formValue); } </script> <script type='text/javascript'> function
createTarget(t){ window.open('', t, 'width=250,height=300'); return true; }
</script> I have used both scripts and have worked ok on their own. When i
click the submit button, a pop up is initiated but it is blank and the
'confirm.cfm' page loads perfectly in a new window. The confirm.cfm page
should load in the pop up. <cfform action='confirm.cfm' method='post'
onsubmit='return createTarget(this.target)' target='formtarget'>
<cfinput type='text' name='signUpName' required='yes' message='Please enter
your name.' value='Your name' class='text_field_form'> <cfinput type='text'
name='signUpEmail' required='yes' message='Please enter a valid email address.'
onvalidate='validateEmailAddress' value='Email address'
class='text_field_form'> <input type='submit' name='Submit' value=' Sign Up
' > </cfform> This looks like something of a problem with the javascript not
being called correctly. Any assistance would be greatly appreciated.
thanks, jo