Xml Schema Via Forms 07.05.09
We are using Machform from Appnitro.com to dynamically create embedded forms for our website.
*After form submission* I would like to send across the collected details to an XML schema, i.e. it’s a system which will import all the data sent across to it. I have been given the schema by the data collection company.
So…
1) User fills form (already created via MachForm)
2) Collected details sent to external XML Schema URL i.e. http://www.
3) MachForm handles the redirection to a success page
I have *three forms*, the number of forms is irrelevant however they each have a different function therefore will post to an XML at different times…
1) FORM 1 – A) user completes form B) collected details sent across to server2 via XML C) redirect to success URL
2) FORM 2 – A) user completes form B) user pays via protx.com C) collected details sent across to server2 via XML D) redirect to success URL
3) FORM 3 – As form 2
Please note, no data should be sent via XML to server 2 via the schema unless they complete all necessary fields (validation), MachForm will handle all this so you don’t have to. Also note, in forms 2 and 3 data should only be sent after successful payment.
YOU WILL ONLY NEED TO DEVELOP THE LINK TO THE XML SCHEMA, NOT PAYMENT NOT FORMS, JUST BE SURE YOU SEND DETAILS AT THE RIGHT TIME!
THERE WILL BE THREE SEPERATE SCHEMAS WHICH WILL BE PROVIDED
YOUR CODE WILL WORK WITH MACHOFRM
Please see http://www.imranmohammed.com/slxml.rar for example schema, and flow chart