Jump to content

Added a Registration Field Dropdown Menu phpVMS v5.5.2


Recommended Posts

Posted

Hi guys. Using Simpilot's version 5.5.2, I added a drop down box in my registration form and have 3 choices in there to make. I logged out of the site and went and looked and the drop down works like a charm. The issue is when a candidate makes a selection via drop down and submits, it reverts back to choice number 1.

Anyone ever had this issue?

apache server

php version : 5.6.25

MySQL : 5.7.14

  • Moderators
Posted

What do you mean it revents back? Does it happens when the user is returned to the registration form due to any issue or you refer to the data posted in the database?

  • 2 weeks later...
Posted (edited)

Sorry guys I forgot I posted this. :blink:

Yes it is a custom filed that you can create in the admin panel.

What I mean by reverts back is, The drop down has 3 choices

1. Pilot

2. ATC

3. Both

So If I register I choose ATC and fill out rest of registration and submit, bingo bango its done. I get a welcome email but I have to wait for admin. Ok on track so far.

Now when an admin goes to that pilot in the admin panel and looks, it shows he or she always chooses the first option. I had 4 people test this for me 3 indifferent countries on different PC's obviously. And I explicitly made them understand to NOT choose the option number 1 Pilot. Also I chose it to NOT show the custom field in the profile and guess what shows up in their profile? Yep! A nice drop down box with 3 choices in it that means absolutely nothing. lol

I think I will just do away with the drop down as the guy that owns the site decided to go another route with this. BUT curious why this is happening.

Edited by TAV1702
  • Moderators
Posted

The value of the custom field somehow doesn't get passed to the function and since the function is written to choose default value(1.Pilot) in case it gets empty value from the field, the from will be processed with default value.

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