Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
before_save happens before_insert making validation and slug incompatible
Hey, I'm running into an issue where I can't combine Observer_Validation and Observer_Slug. I want the slug to be validated as 'required', but Model observes before_save before before_insert, which means that Validation always fails when creating a new model because the slug hasn't been generated yet.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share