Form using Rich Text

Hey Phil, I have seen your article about how to handle forms in Prismic.

This is my slice:

and this is the recommended rich text field format:
image

Below is my form that I have designed using Jotform

These are the options I can use to integrate them:

Can you please advice on how to connect them please?

Hi Pooja,

The easiest way to have a custom embed field is to use a key text field like so:

Then you have to escape the HTML like with v-html:

<span v-html="slice.primary.embed_field"></span>

Try this and let me know how it goes.

Thanks.

Hey,
the form is still not displaying :frowning:

Getting this as display

Make sure you're using a key text field and not an embed field and escaping the html in vue. Plus it seems you have JS disabled.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.