I have a PHP project (I’m using CodeIgniter) with data capture. The form is hosted on mysite.com, and the iframe is on parentsite.com.
Is it possible to use jQuery / JavaScript validation within the iframe? I’m aware of the XSS issues about making requests to different domains, but does that mean different domain from the top URL or is it valid if it’s the src of the iframe?
If this isn’t possible, is there a way around it? The validation is checking whether somebody is unique, so some server-side validation has to take place.
Did you try it? What happened? Seems logical that you could have seen if it worked or fails on your own. 🙂