Home › Forums › Plugin Support › WP User Frontend Pro › Add default date into date field? This topic is: not resolved Tagged: date This topic contains 5 replies, has 2 voices, and was last updated by towhid 3 years, 7 months ago. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts September 5, 2015 at 4:21 am #70498 O ParkMember Post count: 44 I have a date field on my front-end form and want to have default date and time loaded when page loads. How do I do this? Thank you! September 6, 2015 at 4:49 pm #70658 towhidParticipant Post count: 4505 Hello Park, Please navigate to wp-user-frontend-pro/includes/pro/render-form.php and find and remove this line value="<?php echo esc_attr( $value ) ?>" size="30" /> and replace the below line instead of the previous line. value="<?php echo esc_attr( date('l jS F Y') ) ?>" size="30" /> Thanks September 9, 2015 at 11:18 am #71075 O ParkMember Post count: 44 Hi, Thank you for the response. This sets the default date in the field but it always stays at the default date. Selecting different date does not override default date in the field. This does not work. How do I fix this? September 13, 2015 at 5:57 pm #71638 towhidParticipant Post count: 4505 Hello Park, Step: 1 Please navigate to wp-user-frontend-pro/includes/pro/render-form.php Step 2: Rename this file render-form.php to render-form-backup.php Step 3: Download new render-form.php file from this link https://www.dropbox.com/s/35ez7fooiabbytw/render-form.php?dl=0 Step 4: Paste this file render-form.php in this location wp-user-frontend-pro/includes/pro/ Hope it will meet with your requirements. If you still need any assistance please let me know. Thanks September 14, 2015 at 12:23 am #71665 O ParkMember Post count: 44 That did not work. Please see https://wedevs.com/support/topic/date-field-not-working-2/ for future assistance. I guess what I want is that. Removing Date field from the custom fields and add it back to post option( where is used to be on previous version) September 15, 2015 at 11:42 am #71836 towhidParticipant Post count: 4505 Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong. Thank you 🙂 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) The topic ‘Add default date into date field?’ is closed to new replies.