Adding Images, JavaScript, and HTML To Forms

Adding Images, JavaScript, and HTML To Forms

If you need to insert an image or other HTML content within your form, Gravity Forms makes the process easy and painless with the HTML field. Here』s how to do it.

First, add an HTML field to your form where you want the custom content to go.
Next, click on the HTML field that you just added to open up the field』s settings.
Within the Content setting on the field, enter in any HTML content that you want to display.
Save the form and access the form. You should now see your HTML content displaying correctly.

For example, if you want to embed an image within the form (ie: add a profile picture), you would enter the following:
Profile photo

If you wanted to embed JavaScript into the form, you would do so like this:

發表回覆

您的電子郵箱地址不會被公開。 必填項已用 * 標註