In the previous two tutorials we discussed adding associated records. But what if you want to select a record from an associated table where there are thousands of records? Autocomplete can help with this issue, but it requires a combination of parts to work.
There may come a time when you have a form that has optional requirements. By that I mean that depending on a previous selection, future selections may become required, or not.
A simple method I've found to do this is with jQuery on the front end and no validation requirements on the back end. An example follows: