Conditional Logic
I think it would be really great if you include a conditional logic for the view. This way, people can make one form for all listing categories.
What I am trying to do now is to create listing for tourism industry. I want to create listing page for Accommodation, Restaurant, Adventures, Land Tour Service. In order to simplify the submiting process, I want to create one page only with url /submit-business/. Later on they will see selection / dropdowns with the four categories above.
The listing will be displayed according to those selection / dropdowns.
I hope I make myself clear. I'm not a native speaker of English.
Great plugin by the way.
This is now possible using the Advanced Filtering extension: https://gravityview.co/extensions/advanced-filter/
With the extension, there’s an additional row in the Sort & Filter options where you can define filters that limit the entries shown.
Thanks for the voting for this idea!
Zack
-
This is now possible using the Advanced Filtering extension: https://www.gravitykit.com/extensions/advanced-filter/
With the extension, there's an additional row in the Sort & Filter options where you can define filters that limit the entries shown.
-
Anonymous commented
I can imagine two methods for that.
Method 1: using indexed arrays in the queries...however it is not a really keen idea
Method 2: ability to define which categories have which datafields in the back-end, and hiding all the datafields that are not linked to the actual category with javascript in the front-end. -
Anonymous commented
Yeah that would be great as i do not know any other plugins that could do that! I think it could be done by saving even the label text of each data field in the database. And the administrator could define the datafield labels of the inputfields for each advertisment category in the back-end.