API for publish forms? #4342
Unanswered
ARCHES-Academy
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You'd likely have to build your own fieldtype that extends the existing ones so you can set the value on page load. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm probably using entirely incorrect terminology in the heading of the question, but that's besides the point.
Basically, what I want to do is point to a url to create a particular type of entry (this part is easy), but I want one or more of the fields in the blueprint to be pre populated based on the url (GET variables?).
For example:
domain.com/cp/collections/pages/entries/create/default
is a link to create a new page entry, but no fields are pre populated.I need something like this:
domain.com/cp/collections/pages/entries/create/default?title="foo"&date="2021-09-30"
Is that possible?
Beta Was this translation helpful? Give feedback.
All reactions