Jump to content

Show all fields to be filled on new page


Sinmok
 Share

Recommended Posts

Hi all,

I'm having an issue with getting fields to display on page creation. I've set a template to allow for only a single specific template to be used for immediate child pages.

When a user creates a new child page, only the title and name fields are appearing for entry, even though it has recognised that the page has to be created with a specific template.

Is there any way to get all fields associated with the new pages template to show, so that the user doesn't have to click the save button before filling in the rest of the form?

Seeing as the system knows what template is, I don't see why it can't just display all the fields on creating a new page.

Thanks!

  • Like 1
Link to comment
Share on other sites

What Soma said. ProcessWire promises the Fieldtype interface that it will have an actual Page to work with (one that has an ID and a place to store files, etc.). It could be reduced to 1 step by automatically creating that page whenever you click "new", but you'd likely have plenty of accidental pages as a result. Also, as a best practice, GET requests should not make changes to database or disk, so it's always preferable to submit a form before creating a new asset. 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...