i have an user form which he has to fill before moving on to registration page ->
what i want to check is if the user is above a certain age and has selected India has his country then only he can register and proceed to registration form
i am done with calculating age of user and validating it.
i need to check if India has been selected in if condition
of the controller in z end-framework
and i need to populate the data in the other form with user registration with their date and country in a date-picker and a drop down respectively how can i do it ?
is it correct to check like
if($post[‘country’] == ‘India’) can anyone guide me on how to move this data to another form and populate it with this info ?
If the field names from the previous form are the same as the new form, you can just use the
$form->populatelike this:For more information regarding, have a look here