Jump to content

Custom fields during registration


Imanol

Recommended Posts

Hello!

I have added two custom field in my registration main form: VATSIM ID and IVAO ID. However, when a new pilot registers in my VA and introduces his IVAO ID, this one is not registered in his profile. There's no problem with VATSIM ID. If the pilot edits his information in the Pilot Area, he can set his IVAO ID and it's shown in his profile.

I am using this code in the registration main form and edit profile form. The IVAO ID code does not work in the registration form only.

VATSIM ID code

<input name="VATSIM ID" class="form-control customfield_textarea" type="text" value="<?php echo PilotData::GetFieldValue($userinfo->pilotid, 'VATSIM ID'); ?>"></span>

IVAO ID code

<input name="IVAO ID" class="form-control customfield_textarea" type="text" value="<?php echo PilotData::GetFieldValue($userinfo->pilotid, 'IVAO ID'); ?>"></span>

Thanks!

Edited by Imanol
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...