To pre-populate the fields on your lead capture form, add leadCapture.registrationDefaults to your Outseta Script Options.

👉 To pre-populate fields in a sign up form/embed, use auth.registrationDefaults.
👉 To pre-populate fields in a support ticket form/embed, use support.formDefaults.

Follow the pattern below (see bold) to add your authentication registration defaults to the existing Outseta Script and Options you set up for lead capture.

<!-- The element to fill the lead form into -->
<div data-form-uid="[your-lead-form-id]"></div>

<!-- Outseta Script Options -->

<script>
var o_options = {
domain: '[your-domain].outseta.com',
load: 'auth,profile,nocode,leadCapture',
// ✨ Add the relevant lines below to your current sites's head
leadCapture: {
registrationDefaults: {
Person: {
Email: '[email protected]',
FirstName: 'Sally',
LinkedInUrl: "https://linkedin.com/in/sally"
},
}

}
};
</script>

<!-- Outseta Script (doing all the magic) -->
<script src="https://cdn.outseta.com/outseta.min.js" data-options="o_options"></script>

Full demo on Code Sandbox