Sinmok Posted November 20, 2013 Share Posted November 20, 2013 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! 1 Link to comment Share on other sites More sharing options...
Soma Posted November 20, 2013 Share Posted November 20, 2013 I asked me the same some time ago. Reason being that it would have no id yet which is required by some fields like images. They're stored for the page and uploaded using ajax. 1 Link to comment Share on other sites More sharing options...
ryan Posted November 23, 2013 Share Posted November 23, 2013 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now