I have created a table that will be updated periodically through the year.
When editing entries I would like for the user to only see certain fields depending on today’s date.
I am using SharePoint Designer 2013. I have created a custom edit form and have tried using the following code for my if statement:
I have located the for the field I wish to hide, and have succeeded in hiding other fields using variations of the if function.
My syntax in this instance is:
Although no error is flagged up this code evaluates as false and I cannot see the field in the edit form I would expect.
I assume this is something to do with my syntax around the hard coded date or the less than or equal to function. I have tried 100s of variations of both but I am unable to resolve.
Please advise?