Hi Niels,
To disable the paste date, please try the following JavaScript code snippet.
gform.addFilter( 'gform_datepicker_options_pre_init', function( optionsObj, formId, fieldId ) {
// add your own field ID instead of 2
if ( fieldId == 2 ) {
optionsObj.minDate = 0;
}
return optionsObj;
});
How to find the field ID:
You can use the provided JS code snippet in your child theme’s JavaScript file or try the “Simple Custom CSS and JS” plugin.
Give it a try, and let me know how that goes!