janet01
Forum Replies Created
-
That works fine, thanks Dmytro!
All the best, Janet
Hi, Further to the above, I have realised I need to hide the field the date calculation goes into, otherwise the person filling in the form can change/overwrite the number of days. I found a post requesting similar help, and they were using css on the form with the code:
forminator-field-number-1 {
visibility: hidden;
}I have tried using the same, but it is my first time using css, and not sure if I have done the right thing, or put it in the right place? I went to Forminator Appearance, turned on custom CSS and pasted the code in there. I changed the example code’s field number from number-2 to number-1 which is the name of the field I want to hide.
Or perhaps there is a better way to hide the field?
Thanks for your help
Works fine, thanks!
Hi Adam,
I was following this link:
https://wordpress.org/support/topic/get-number-of-days-from-two-date-pickers/
This sent me to this page of code:
https://gist.github.com/patrickfreitasdev/a0ce2af43c5bf24ef832cbf9744a5f14