Customized Form

Customized Form

You can insert html codes to customize your own page that will show up when any user clicks on the form.

Step 1: Click on

Step 2: Select ‘Customized Form’ under Form Type

Step 3: Click on Modify Source

Step 4: Enter the code you want, it can be html.

Step 5: Open the form from the main page to see the page you created with the code.

Under Customized form, the below is how you can send an API.

				
					jetRequest(
    {
        method: "httpRequest",
        url: "https://jsonplaceholder.typicode.com/posts",
        requestMethod: "POST",
        body: '{"title":"foo","body":"bar","userId":1}'
     },
    {},
    (data) => {
        console.log(data);
    },
    (error) => {
        console.error('Request failed:', error.message);
    }
);
				
			

Method – Delares the method used which in this example, its “httpRequest”

URL – URL for the API.

requestMethod – transport protocol

body – assigns values to various part of the send request.

Suggest Edit
×

Hello!

Click one of our representatives below to chat on WhatsApp or send an email to sales@jetworkflow.com

× How can I help you?