olefredrik / FoundationPress

FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb
https://foundationpress.olefredrik.com
MIT License
2.71k stars 871 forks source link

class="course-finder__form not working correctly #1311

Closed elisaSampson closed 5 years ago

elisaSampson commented 5 years ago

How can this bug be reproduced?

  1. Step one - www.accross.ac.uk
  2. Step two - select a subject
  3. Step three - the audiance related to this subject does not change?

What did you expect to happen?

if i selected a course i should only display the audience option assigned for example if i chose "Early Years Childcare" then it should only display the audience type linked to this?

What happened instead?

it displays all audiance types?

Please List the Following: By Ole Fredrik Lie Version 1.0.0 Tags: FoundationPress is a WordPress starter theme based on Foundation 5 by Zurb

WordPress 4.9.8 **

Include Test Case (if applicable):

n/a

derweili commented 5 years ago

How is this related to FoundationPress?

You should must use custom JavaScript code to toggle the options of the select input based on the selected subject An explanation how to add custom Javascript to FoundationPress can be found here https://github.com/olefredrik/FoundationPress#javascript-compilation