2

I have a section with 2 entry types. Logged in users need to be able to submit to each type. I had planned on having 2 different entry forms.

How do I tell the form which entry type to save to? I assume it's a hidden field but what's the field name and where do I find the value?

1 Answer 1

3

You just need to specify a hidden input with the typeId set correctly.

i.e.

<input type="hidden" name="typeId" value="{{ entry.typeId }}">

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.