Home Forums Plugin Support WP User Frontend Pro DropDown custom value Not Stored

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Denis 4 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33940

    Denis
    Participant
    Post count: 165

    Hello Sekander,
    I think you dont get my images

    The value is NOT stored!

    Or I am to stupid!
    Cheers,
    Denis

    #33954

    Sekander Badsha
    Member
    Post count: 2067

    Hello Denis,

    Yes, you are right. I had a discussion with the developer team and found that the custom field data is lost upon edit. So I have asked to fix it right away and I believe I can provide you a fix within tomorrow.

    My apologies for not getting it on the first place.

    #33958

    Sekander Badsha
    Member
    Post count: 2067

    Please open “wp-user-frontend/class/render-form.php” and go to line number 990 and you will see something like this:

    [php]$current_select = $multiselect ? selected( in_array( $option, $selected ), true, false ) : selected( $selected, $option, false );[/php]

    Now replace that with this line

    [php]$current_select = $multiselect ? selected( in_array( $value, $selected ), true, false ) : selected( $selected, $value, false );[/php]

    That should fix the issue. And do not forget to reply me the result ๐Ÿ™‚

    #34279

    Denis
    Participant
    Post count: 165

    No problem!

    Thanks for Fixing the problem!

    Cheers from Cologne
    Denis

    Von meinem iPhone 4S gesendet

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

The topic ‘DropDown custom value Not Stored’ is closed to new replies.