وردپرس

Remove/hide options from select field based on date


Hi, is there a way to automatically remove or hide options from a select field based on a date?

I have a form where people can subscribe to a meeting that is held every first Monday of the month for the remainder of the year. So the select options are 5/8, 2/9, 7/10, 4/11, 2/12. When a date is in the past, I want to remove or hide it from the possible options. Can that be done?

It would probably make more sense to use the calender field for this, but then I would need an option to enable the available date, rather then disable unavailable dates/date ranges. Plus it doesn’t allow me to add a last ‘Keep me informed’ option when none of the dates work for the visitor.

Thanks
JP

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا