Install the app and fill in your details one last time. SingleID will take care of filling in forms from now on.
- PHP >= 5.0.0
- cURL
- jQuery >= 1.6.1
- Input type - Select
For every select dropdown you must set ID for the select with the name of the field in the app (full list of fields you can find in the end of the document) - Input type - Radio
Radio buttons must have attribute class and name with the name of the field in the app. - Input type - Text
For every input text ot textarea you must set ID with the name of the field in the app
On page where you want to put SingleID plugin you must have jQuery. Download plugin.php and put it into your webroot directory. Create a folder named userdata in the same directory and make it writtable.
You must to set some settings in the plugin.php On line XX - XX you must set LOGO_URL ( the logo of your page that will be snown in the user phone when request is sended ), SITE_NAME - the name of your site and requested_data.
requested_data has a values of:
1 - Personal data only
1,2,3 - Personal, Billing and Shipping data
1,-2,3 - Personal, Billing and Shipping data ( Without credit card )
1,2,3,4 - Personal, Billing, Shipping and Identification data
1,-2,3,4 - Personal, Billing ( Without credit card ), Shipping and Identification data
Just one step left. Put these code in every form where you want to use the plugin:
<iframe src="plugin.php?op=init" width="200" height="80" frameborder="0"></iframe>
ONE TABLE WITH ALL THE FIELDS DIVEDED BY GROUPS of requested_data