⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


Store form field value to a variable in the controller


  • Please log in to reply
No replies to this topic

#1 sarp

sarp

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 28 April 2021 - 07:50 AM

Hi all,

I am struggling trying to pass a crud filed value to a variable in the controller in order to use it later.

 

Example

 

$crud->add_fields(['surname','name','email']);

 

The user adds the values to the form and I want to get the email value to send a verification email when the user submits data.

 

How can I get the value of the email field to a variable in order to use it to the function that sends the email?

 

Thank you






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users