Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Ep 196 - nested model form pt 1. :reject_if => lambda prevents validation? #21

Open
chiperific opened this issue Jan 22, 2013 · 0 comments

Comments

@chiperific
Copy link

To replicate:

  1. Create a new Survey.
  2. Title the Survey.
  3. Leave Question1 blank
  4. Enter text in Question1 > Answer1
  5. Submit form.

Survey is created without Question1. Answer1 text is lost.

I want survey to throw error on submit noting that Qestion1 can't be blank. Any ideas?

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