Skip Navigation

[Resolved] How to create custom forms that make an API call to a different server on submit

This support ticket is created 3 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 3 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#2502653

Tell us what you are trying to do?
Hi, I have a usecase where I want a custom form on my wordpress website which collects some data from the user. On filling the form and clicking on submit button, I want to make an API call to my CRM which is a different server running on ROR.
How can I achieve this customization using toolset ?

Is there any documentation that you are following?
I have refered custom code and creation of shortcodes documentation but did not find any documentation for my usecase.

Is there a similar example that we can see?
Not that I know of.

What is the link to your site?
Sandbox.jhatkaa.org

#2502923

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no such feature available - you can create post form to (create/edit existing) posts or you can create user forms to create new user or edit existing user profiles.

When user submit the form - do you want to create new post for any post type - if yes, then you can use Toolset form otherwise you will have to use custom form that will require custom code to call your API and that is beyond the scope of our support policy.

If you need custom programming for your site - you are welcome to contact any of our certified partners:
- https://toolset.com/contractors/