Mark J Posted June 29, 2011 Report Share Posted June 29, 2011 Alright i have a UAL/COA merger and for all the pireps to work, we have to enable the COA airline. However, we would like everyone to have a UALXXX PID. Is there a way to delete COA from the Select an Airline list to where they are automatically added into UAL? or even better take out the Select an airline list all together. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted June 30, 2011 Administrators Report Share Posted June 30, 2011 I just removed the option choice from the registration form and set a hidden field with the airline I want them to be assigned to -> remove <dt>Select Airline: *</dt> <dd> <select name="code" id="code"> <?php foreach($allairlines as $airline) { echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>'; } ?> </select> </dd> and replace with <input type="hidden" name="code" value="UAL" /> Quote Link to comment Share on other sites More sharing options...
Mark J Posted June 30, 2011 Author Report Share Posted June 30, 2011 Thanks! 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.