Search the Community
Showing results for tags 'dependable fields'.
Found 2 results
I want to add a dependent SELECT field on my template page that lists pages from a parent "sub-page" in the current parent node. On /product1/page I have the field "photo" which is a SELECT field. I want the SELECT to list pages from /ROOTPARENT/photos. The idea is that I can reuse the same photo in many places - but only need to keep it update it once under /product1/photos. My page structure looks like so: /product1/page /product1/photos/photo3 (template=photos) /product2/photos/photo9 I have tried adding these Selector Strings on the Field (Setup -> Fields -> PHOTO -> Input tab -> Selectable Pages field group -> Selector String): parent=/product1/page, template=photos, sort=name WORKS (but only on children of current product). parent=page.rootParent ... parent=$page.rootParent ... parent=$page.rootParent parent=$parent ... parent=$parent1 When using a SELECT Input Field Type, the editing pages gives the fatal error "Unrecognized operator: $". parent=parent ... parent=. Returns an empty list How might I find child pages from the current "/product1/photos/ page"? Your inputs are appreciated. Thanks.
Marco Angeli posted a topic in General SupportHi there processwire people, this may sound obvious to most of you but not for me : ) I'm dealing with a booking form for a trip site. I want the user to choose destination first (a select: let's say Venice, Rome and Hamburg); Based on her choice, there will be days available (23 of august, 27 of september) Based on the day, another select will show available times (e.g. 9.30, 15.30 and so on) What should I do? Custom php or Form Builder? (I would prefer the latter...), and most of all: how to build a system like that? Thanks!