Only Display Scheduled Departure Airports in pirep file[SOLVED]

Hi all,

I want my pilots to only be able to file a pirep from any of my scheduled departure airfileds.

Currently a pilot can file a pirep from any airport, which creates problems for me.

The code i believe at the moment in the pireps_new.tpl is this.

<input type="text" name="depicao" value="<?php echo $_POST['depicao'] ?>" />

can someone point me in the right direction please.

Excellent, thanks it works a treat.. Cheers Lorathon