Stump the Panel » jQuery for Everyone

Embedding AJAX/PHP page into a Page Viewer Web-Part

(3 posts)
  • Started 6 months ago by patrick.abel
  • Latest reply from AutoSponge
  1. patrick.abel
    Member

    Hey guys,

    I have had quite alot of problems trying to figure out how to create effective form solutions for WSS 3.0. I have learned how to use workflows tied to lists, but getting some of the features of validation, redirect upon submission, and easy editing have led me away from what sharepoint has to offer.

    I have created a AJAX form that is driven by PHP you can see at:

    http://spaceclub-hsv.org/contact_form/Copy%20of%20contact.html

    It validates on a field by field basis and reports errors and completion with AJAX without a need for a page refresh. My problem is that, when I try and tie this website into a Page Viewer web-part, it doesn't know how to handle it. I was under the impression that the Page Viewer web-part was merely a "viewer" and all the interaction was still taking place on the host site, but this may not be the case with using AJAX. Is there a solution for this? Thanks

    Patrick

    Posted 6 months ago #
  2. patrick.abel
    Member

    P.S. jQuery is also present in order to make the fields style based on "inactive" or "active" selection. This is also what enables me to add notes in the entry boxes and have them disappear upon selection.

    Any help would be great! I hate this feeling of constantly dancing around Sharepoint's limitations.

    Posted 6 months ago #
  3. Is your SharePoint site on the same domain? If not, you may find that you have to create a compact privacy policy on the PHP server. That tells the browser it's ok to run certain scripts from the iframe window. By default, IE usually blocks a lot of script from an iframe to prevent XSS attacks.

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.