Jump to content

How to create a form with dynamic select list (filtering available values by multiple fields)?


ETENTION
 Share

Recommended Posts

Hi!

Just started to dig into PW and since I have a small project starting I wonder that how does PW support dynamic forms out-of-the-box? Or perhaps through some module(s)?

I'm creating a form(for visitors) that has options such as shape > size > color > availability/product which filter values for the last filter/select option (in this case availability).

And is there any form field dependency implemented or is this just a matter of e.g. jquery events that trigger AJAX or visibility when field value is changed?

Link to comment
Share on other sites

I have a model field that depends on the selected manufacturer. Its options update upon manufacturer selection (both are page select fields).

In my model field > Input tab > Selectable Pages > Custom selector, I have:

parent=page.make, template=model, sort=title, include=all

Where 'make' is the name of my manufacturer field.

Try that?

  • Like 3
Link to comment
Share on other sites

  • 3 years later...

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

×
×
  • Create New...