Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Identify the mechanism for toggling the display of form fields #8

Open
waldoj opened this issue Dec 27, 2016 · 1 comment
Open

Identify the mechanism for toggling the display of form fields #8

waldoj opened this issue Dec 27, 2016 · 1 comment

Comments

@waldoj
Copy link
Contributor

waldoj commented Dec 27, 2016

Normally we'd just use some external JavaScript to accomplish this, but JSON Form has a hook for this, which I imagine is because it's problematic or impractical to attempt to make changes to the DOM when it's already been rendered by JSON Form. Figure out how to get this working (my efforts failed, because dropping JavaScript straight into JSON makes no sense).

@waldoj
Copy link
Contributor Author

waldoj commented Dec 30, 2016

This is clearly documented as an existing thing, but when I try it, $.get("{{site.baseurl}}/javascripts/form.json"); fails, presumably because it's not well-formed JSON.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant