Imanol Posted November 19, 2016 Report Share Posted November 19, 2016 (edited) 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 November 19, 2016 by Imanol Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted November 19, 2016 Moderators Report Share Posted November 19, 2016 How did you add the fields? Did you add them through the Profile fields menu in your admin center or manually? Quote Link to comment Share on other sites More sharing options...
Imanol Posted November 19, 2016 Author Report Share Posted November 19, 2016 Yes, I added them in the admin center. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted November 19, 2016 Moderators Report Share Posted November 19, 2016 So, where do you use the codes you pasted above? Quote Link to comment Share on other sites More sharing options...
Imanol Posted November 19, 2016 Author Report Share Posted November 19, 2016 I use these codes for the input field. As I said, the code for IVAO does not work in the registration main form only. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.