Datetime field form validation in a wizard

Hi Newebie question here : I'm using always on my forms the ->after() method to validate the datetime , but i came accros with a situation where the 2 datetiome fields are in a separate step on the wizard, and the ->after('...') is not working in this case. Is there something I can do to validate all the fields through the whole wizard ?
2 Replies
LeandroFerreira
LeandroFerreira4mo ago
although they are in different steps, I think they are in the same $data, so you should be able to do it 🤔 Could you share some code? Another way would be using $get in a custom validation https://filamentphp.com/docs/3.x/forms/validation#custom-rules
Want results from more Discord servers?
Add your server