⚠ In case you've missed it, we have migrated 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 is an archived forum. ⚠

  •     

profile picture

unique_fields after concatenation



oneill78

oneill78
  • profile picture
  • Member

Posted 14 March 2018 - 17:34 PM

Hello,

 

I have a problem;

 

I want to check if a new user exit in DB before create.

 

The id is auto-increament.

 

I have created a field in Mysql with concatenation : name + firstname + city and i want to chek with the posted data in the form.

 

I try callback before update function, is-unique field and set_rules but that's not working.

 

Have you a solution for this ?

 

Thank you for your help

 

Lionel