PagePath is a DataForm feature that hasn't been a very popular option. Mainly because people don't understand it.
But the PagePath is one of the major UI functions in one of my upcoming Wikidot Applications. It's such a beautiful and simple UI.
My problem is, I want to disable the “Create New” function, because if users create new pages in my PagePath, then they will destroy the Application's database.

The proposal: add a “create” attribute to the PagePath, so that we can dis/enable the user to manipulate the PagePath
[[form]]
fields:
genre:
label: Game genre
type: pagepath
category: genre
create: false
[[/form]]
Bump!
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
I'm pretty sure this already works - if the user doesn't have permission to create pages in that category, the "create new…" option won't be shown to them.
So you as MA will always see it, regardless. If you log in as another user (or anonymous), and have permissions set correctly, you can hide it.
Edit: Actually, no. I just tested it and it doesn't work as I expected.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
I'd really like to see this implemented.
For example, I want to allow people to create pages from one location using a NewPage module (and therefore assigning certain tags, etc. automatically at the same time).
But from the data form I only want users to be able to select already-existing values, not be able to create a new empty page that doesn't conform to the same rules that my NewPage module uses.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server
@Wikidot, this has a high rating of 9+ votes…
Could you please work on making it possible to disable "Create New"?
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript