Edit drop down field

Home Forums Pie-Register 2.0 Support Edit drop down field

This topic contains 1 reply, has 2 voices, and was last updated by  PIE REGISTER 3 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3179

    icurass
    Participant

    We have a drop down field where you can select a number, 2014, 2015, 2016, 2017, and so on.

    If a user edits this field into a different number (after they have registered), in our database it turns into this: a:1:{i:0;s:4:”2018″;} instead of 2018. If the field is edited by the admin via wordpress user management it becomes a plain number: 2018. If the field is not edited after registration, it is also a plain number.

    How do I fix it so that the value is a plain number even when users edit their profile?

    #3189

    PIE REGISTER
    Keymaster

    Hello,

    It’s PR internal method of storing data from a drop down and multi drop down. However, you if you would like to read it in other laces in code, you can un-serialize it but please do not try to change this method it will make PR dis-functional.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.