Upload Form Code
Paste your form code to generate exact integration code.
⏱ 2 minPrerequisites: Project created
Problem: You have access to your form code but need to manually map each field name to a trackResponse() payload — which is slow and error-prone.
Solution: Paste your form's HTML or JSX into EnterestOS and it reads the field names directly, generating exact payload mapping without guesswork.
Steps
- 01.Copy your form's HTML or JSX code from your editor
- 02.Open your project in EnterestOS
- 03.Click Upload Form Code
- 04.Paste your code into the text area
- 05.EnterestOS maps all field names to a payload structure
- 06.Review the mapping — adjust any field names if needed
- 07.Select your platform
- 08.Copy the generated integration code
Example Input
jsx
<form onSubmit={handleSubmit}>
<input name="fullName" placeholder="Full Name" required />
<input name="workEmail" placeholder="Work Email" required />
<input name="companyName" placeholder="Company" required />
<textarea name="message" placeholder="Message" required />
<button type="submit">Send</button>
</form>Generated Output
typescript
await enterestos.trackResponse({
type: 'contact_request',
payload: {
fullName: formData.fullName,
workEmail: formData.workEmail,
companyName: formData.companyName,
message: formData.message
}
});Result: You now have exact integration code matched to your form's real field names — no manual mapping, no typos, no mismatched keys.
Common Questions
What is the difference between uploading a screenshot and uploading form code?
Screenshot: paste an image, EnterestOS reads the visible labels. Form code: paste JSX/HTML, EnterestOS reads the actual field name attributes. Use form code when you have access to the source — it produces more accurate field name mapping.