Disclaimer: This site is moderated by the Formidable Forms community. Formidable Forms and its parent company Strategy11 are not responsible for the words, opinions, and content posted by others on this site. This site is provided as a courtesy and free resource for the Formidable Forms Community. Any actions deemed as harassment, toxic or abusive, will result on being banned from this site and potentially losing your Formidable Forms license.
Thanks for your cooperation, if you have any questions please
consult our code of conduct
What's not working? It's impossible to say from your code. Have you confirmed through step debugging that both the addDays AND dateOneString have values? If either one has an absence of value, you'll hit the return and nothing will happen. You may want to try the Kint debugger available in the WordPress plugin repository to help you with step debugging to make sure every one of the lines is returning a correct value.
Thanks i also agree that is correct. i will use the debugger thanks a lot.
the are some problems in console but the are all from formidable forms