To pre-populate the fields in your support ticket form/embed, add support.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 lead capture form, use leadCapture.registrationDefaults
.
Follow the pattern below (see bold) to add your support registration defaults to the existing Outseta Script and Options you set up initially to add the support ticket form/embed.
<!-- Outseta Script Options -->
<script>
var o_options = {
domain: '[your-domain].outseta.com',
load: "auth,profile,nocode,support",
// ✨ Add the relevant lines below to your current sites's head
support: {
formDefaults: {
Subject: 'A prewritten subject line",
Body: `A prewritten body`
}
}
};
</script>
<!-- Outseta Script (doing all the magic) -->
<script src="https://cdn.outseta.com/outseta.min.js" data-options="o_options"></script>