You are viewing limited content. For full access, please sign in.

Question

Question

date field for specific day each month

asked on February 27

I searched through forms and found a few posts about selecting certain days of the week, but I need to have the date picker limit dates to the 15th of each month, but still allow user to select the months ahead.

How do I do this?

Please note, I am not a strong coder.

 

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on February 27 Show version history

If you use the form designer, you can follow the steps outlined in the documentation here to do what you need! make sure you are using the "Specific Dates" option under the advanced tab of a date field when using the JS!

 

const dayOfMonth = date.getDate();
return dayOfMonth === 15;

 

2 0
replied on February 27

Wow. That was easier than I thought it would be. 

Thank you!

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.