Hi @santifri,
Thanks for using WP Contact Slider,
We have forwarded the details to the technical team, and we will get back to you once we hear from them.
Thanks
Hi @santifri,
Thanks for your patience,
We have fixed the issue and shared the updated plugin link. Kindly download the plugin from the link, and please make sure to delete the previous version of the plugin.
Download: WP Contact Slider
Once you approve, then we will release the plugin update with the fix.
Thanks
Perfect! Installed update and now works fine.
Thank you very much!
Regards
I’ve found another issue. This script works in other forms here: vepersa.com/cita previa but not in the slide:
<script>
gform.addFilter( 'gform_datepicker_options_pre_init', function( optionsObj, formId, fieldId ) {
if ( formId == 5 && fieldId == 7 ) {
// No fines de semana:
optionsObj.firstDay = 1;
optionsObj.beforeShowDay = jQuery.datepicker.noWeekends;
// 2 días mínimo para solicitar cita
optionsObj.minDate = '+ 2D';
// Máximo de 12 semanas para pedir cita desde hoy:
optionsObj.maxDate = '+12 W';
}
return optionsObj;
});
</script>
Any idea?
Hi @santifri,
Please try this code:
jQuery(document).ready(function() {
gform.addFilter( 'gform_datepicker_options_pre_init', function( optionsObj, formId, fieldId ) {
console.log(formId);
if ( formId == 2 && fieldId == 7 ) {
// No fines de semana:
optionsObj.firstDay = 1;
optionsObj.beforeShowDay = jQuery.datepicker.noWeekends;
// 2 días mínimo para solicitar cita
optionsObj.minDate = '+ 2D';
// Máximo de 12 semanas para pedir cita desde hoy:
optionsObj.maxDate = '+12 W';
}
return optionsObj;
});
});
Thanks