Client-side field visibility conditional on other fields? #1332

Open
Tuckie opened this Issue Sep 25, 2012 · 0 comments

Projects

None yet

1 participant

@Tuckie
Tuckie commented Sep 25, 2012

Is something like this possible?

For example, a "select" field with an "other" option, when selected, it makes an "other" field visible

Ideally, this would be in the DSL to generate the needed JS:

field :other do
  client_visible do
    field :select == "other"
  end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment