Jump to content

"Select an Airline:"


Mark J

Recommended Posts

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.

Link to comment
Share on other sites

  • Administrators

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" />

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...