Home › Forums › Plugin Support › WP User Frontend (Free Version) › Custom field values lost after validation fails This topic is: not resolved This topic contains 2 replies, has 2 voices, and was last updated by gribbler 5 years, 1 month ago. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts December 24, 2013 at 4:49 am #13919 gribblerMember Post count: 4 I added a custom field using the ‘song_artist' using: http://tareq.wedevs.com/2012/04/how-to-extend-wp-user-frontend/ I also added the validation and made a change to the add-post.php file to display the errors. Now when I post and the validation fails, the message appears correctly, but my ‘song_artist' field is cleared out. December 24, 2013 at 11:54 am #13922 Tareq HasanKeymaster Post count: 2831 Can you share the codes? December 24, 2013 at 9:37 pm #13932 gribblerMember Post count: 4 Pastebin Code I added the code to functions.php and uncommented from add-post.php Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The topic ‘Custom field values lost after validation fails’ is closed to new replies.