assume that I've got User Model and Registeration Form and I want to show filled form with current user information but some fields have different name in my form.
in my Users model class I've got
user_name but in my RegisterForm, I've got
when I bind these 2 together, how can I set value for different property?
$user = Users::findfirst(); $form = new RegisterForm($user);