# Bug in create custom pirep field

**URL:** <https://forum.phpvms.net/t/bug-in-create-custom-pirep-field/2613>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [May 8, 2010, 7:51am UTC](https://forum.phpvms.net/t/bug-in-create-custom-pirep-field/2613 "2010-05-08T07:51:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Alex](https://forum.phpvms.net/u/Alex)\
**Post date:** [May 8, 2010, 7:51am UTC](https://forum.phpvms.net/t/bug-in-create-custom-pirep-field/2613/1 "2010-05-08T07:51:02Z")

</div>

I have been trying to add a custom pirep field from the admin side.

I can create the field with a text area. The field is called Tracker URL with a blank text area to insert a url.

I already have one custom field called “unscheduled flight” which is a simple drop down box with yes,no.

Once i have added the second “tracker URL” field all looks fine in the admin side, however when i go to the user side and try to file a pirep.

I get ONE custom field which is a mix of my two fields ie a field name of “Unscheduled flight” and a text area.

I am on .930

I have tried searching on custom pirep fields but have not found anything similar to this yet?

Alex

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [May 8, 2010, 12:23pm UTC](https://forum.phpvms.net/t/bug-in-create-custom-pirep-field/2613/2 "2010-05-08T12:23:59Z")

</div>

I have tried what you have here on my local server running 934 and I cannot duplicate the issue, I attached a screenshot of what I get. I would make sure you have not modified that template, and go ahead and update to the latest.

[![post-198-057154200 1273321324\_thumb.jpg](\<fileStore.core\_Attachment\>/monthly\_05\_2010/post-198-057154200%201273321324\_thumb.jpg)](\<fileStore.core\_Attachment\>/monthly\_05\_2010/post-198-057154200%201273321324.jpg)

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [May 8, 2010, 2:41pm UTC](https://forum.phpvms.net/t/bug-in-create-custom-pirep-field/2613/3 "2010-05-08T14:41:41Z")

</div>

There was a bug fixed in 932 I believe fixing a problem with custom fields, so that might be it

---

<div class="post-metadata">

**Author:** ![Alex](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Alex](https://forum.phpvms.net/u/Alex)\
**Post date:** [May 8, 2010, 7:02pm UTC](https://forum.phpvms.net/t/bug-in-create-custom-pirep-field/2613/4 "2010-05-08T19:02:44Z")

</div>

Ah, right i’ll have a look at upgrading. I’m just frightened of doing it as i had a nightmare last time, mainly of my own doing not copying templates from core to skins really.

Was there a specific template that had the bug?

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [May 9, 2010, 1:51am UTC](https://forum.phpvms.net/t/bug-in-create-custom-pirep-field/2613/5 "2010-05-09T01:51:31Z")

</div>

> Ah, right i’ll have a look at upgrading. I’m just frightened of doing it as i had a nightmare last time, mainly of my own doing not copying templates from core to skins really.
> 
> Was there a specific template that had the bug?

It wasn’t in a template. Yes, as long as your customized templates are moved you should be ok
