Webflow and javascript support
Budget: €8 – €30 EUR
Requirement 1
As a MarinAI user, when I open the “Professional Form” page (having navigated from the “selection” page), I would like the collection values in the field “Job Sub Category” to be filtered by the category value which is stored in the hidden field called “Level 2” so that my category selection from the “Selection” page is used to filter the sub-category list I need to select from.
AC1
Given I am a MarinAI user,
When I navigate from the “selection” page to the “Professional Form” page and open the “job sub-category” dropdown,
Then the list of collection values displayed should be filtered both by the static filter on the “job” value in the “type” field but also the list should be filtered in the “category” field by the value in the “level 2” field (which has been parsed from the “selection” page).
AC2
Given I am a MarinAI user on the “professional form” page,
When I use the back button and navigate to the “selection” page and select a different category option,
Then when I navigate to the “Professional Form” page again, the list of collection values displayed in the job sub category field should be filtered both by the static filter on the “job” value in the “type” field but also the list should be filtered in the “category” field by the new value I selected from the “selection” page
Notes:
there is already some javascript in the “Professional Form” page which runs to take the records from the sub-category collection list and presents them in a dropdown list called “job sub category”.
Secondly, there is already a static filter on the sub-category list for the “type” field with the value “job”. The category filter should be applied on top of this.
Finally, please note that we are currently parsing the “category” name value in the URL parameter however we may need to change this to the “slug” value in order to be able to filter on category. This is OK because eventually the “level 2” field will be hidden to the user.
Requirement 2
As a MarinAI user, when I open the “Professional Form” page and select a value in the “job sub category” field, then the values in the “job role” dropdown should be automatically filtered by the sub-category value I have selected in the “job sub category” field so that I can filter from a much more limited list in the “job role” field.
AC1
Given I am a MarinAI user on the “professional form” page,
When I make a selection in the “job sub category” drop down,
Then the “job role” drop down list (fed from the “entries” collection) should be automatically filtered in the “subcategory” field by the value I selected in the “job sub category” drop down.
AC2
Given I am a MarinAI user on the “professional form” page,
When I change the value in the “job sub category” drop down,
Then the existing value in the “job role” drop down list should be automatically deleted, and the values in the drop down list (from the collection) should be re filtered by the new value selected in the “job sub category field”
AC3
Given I am a MarinAI user on the “professional form” page,
When I delete the value in the “job sub category” drop down,
Then the value in the “job role” drop down list should be automatically removed
Notes:
there is already some javascript in the “Professional Form” which runs to take the records from the entry collection list and presents them in a dropdown list called “job role”.
As a MarinAI user, when I open the “Professional Form” page (having navigated from the “selection” page), I would like the collection values in the field “Job Sub Category” to be filtered by the category value which is stored in the hidden field called “Level 2” so that my category selection from the “Selection” page is used to filter the sub-category list I need to select from.
AC1
Given I am a MarinAI user,
When I navigate from the “selection” page to the “Professional Form” page and open the “job sub-category” dropdown,
Then the list of collection values displayed should be filtered both by the static filter on the “job” value in the “type” field but also the list should be filtered in the “category” field by the value in the “level 2” field (which has been parsed from the “selection” page).
AC2
Given I am a MarinAI user on the “professional form” page,
When I use the back button and navigate to the “selection” page and select a different category option,
Then when I navigate to the “Professional Form” page again, the list of collection values displayed in the job sub category field should be filtered both by the static filter on the “job” value in the “type” field but also the list should be filtered in the “category” field by the new value I selected from the “selection” page
Notes:
there is already some javascript in the “Professional Form” page which runs to take the records from the sub-category collection list and presents them in a dropdown list called “job sub category”.
Secondly, there is already a static filter on the sub-category list for the “type” field with the value “job”. The category filter should be applied on top of this.
Finally, please note that we are currently parsing the “category” name value in the URL parameter however we may need to change this to the “slug” value in order to be able to filter on category. This is OK because eventually the “level 2” field will be hidden to the user.
Requirement 2
As a MarinAI user, when I open the “Professional Form” page and select a value in the “job sub category” field, then the values in the “job role” dropdown should be automatically filtered by the sub-category value I have selected in the “job sub category” field so that I can filter from a much more limited list in the “job role” field.
AC1
Given I am a MarinAI user on the “professional form” page,
When I make a selection in the “job sub category” drop down,
Then the “job role” drop down list (fed from the “entries” collection) should be automatically filtered in the “subcategory” field by the value I selected in the “job sub category” drop down.
AC2
Given I am a MarinAI user on the “professional form” page,
When I change the value in the “job sub category” drop down,
Then the existing value in the “job role” drop down list should be automatically deleted, and the values in the drop down list (from the collection) should be re filtered by the new value selected in the “job sub category field”
AC3
Given I am a MarinAI user on the “professional form” page,
When I delete the value in the “job sub category” drop down,
Then the value in the “job role” drop down list should be automatically removed
Notes:
there is already some javascript in the “Professional Form” which runs to take the records from the entry collection list and presents them in a dropdown list called “job role”.