Skip to Content
🎉 Nextra 2.0 is released. Read more →
sitesFormsPopulate Custom Fields and capture in submission using Custom HTML/Javascript Logic

Populate Custom Fields and capture in submission using Custom HTML/Javascript Logic

Modified on: Wed, 7 Aug, 2024 at 7:11 AM

Auto populating the existing custom field in forms / Survey using custom HTML/Javscript and later saved in submisison is simple and straightforward.

Retrieve the Custom Field ID:

  • Go to the Preview of the form.

  • Right-click on the page and select ‘Inspect.’

  • Select the mouse pointer tool.

  • Click on the “Custom Field.”

  • Copy the ID from the name and ID properties.

Example:

If you created a custom field named xxTrustedFormCertUrl, follow the above steps to get its ID.

Note:myDatais just for example. In the customer custom HTML/Javascript code. Customer have to figure it out where is the captured data and replace themyData