What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
I would like to integrate an api written in php?Asked by willsy on June 20, 2016 at 08:33 AM
Thankyou for your time.
I would like to integrate an api written in php.
I have checked through your support pages but would be grateful for some further advice.
I will be creating a form on my sites landing page that asks for the vistor to enter a site url and their email address. This will be submitted to my full website; (I will do this with webhook or a simmple href to my site). With your form to form function I will link this information from them onto a 'create account form'; their site url and email address already filled in if they wish to proceed further.
On the 'create account form' there will be more text boxes to fill out; name etc... I have a third party API written that holds my own api password and username within it. It will post a message to another https address that will allow on submition of this form, the visitor to create a sub-account linked to my master account.
I need to add/embed this php api code to your forms coding.
I am building with dreamweaver, I will copy your code from the publish - platform link on the jotform build dashboard. What I would be grateful for some advice on is; does jotform have an app/widget that I can add this third party api code too? Or do I need to add it straight to the build code? If so, within your form code and where, or on my sites page but with what linking code to your script?
For security reasons you would not be able to add any kind of custom code to your forms other than CSS for styling the same.
The closest to what you have mentioned would be by creating custom app that would then be available to you in the form integrations - as long as all username / password details are not part of it.
You can see more about this here: http://developers.jotform.com/integrations/
Hope this helps, and I do recommend checking out the following: http://www.jotform.com/terms/
It will help you know what to avoid.