Has anyone encountered an issue where the now() not working on the DateTime field in InfoPath on SP2013? I copied it from another form that is working fine. I compared the two and it appears to be the same. Any assistance is greatly appreciated.
Verify that you are following the below:
Select the textbox or field where you want to display the now() function -> Double click on that field -> click on the Fx link -> Click on the Insert function -> select Date Time from Categories -> select now()
It should work now. I have just tested it is working.
- If now() does not, go to the textbox settings, change the postback settings to always and check the checkbox for always refresh data.
- If still does not work, add rule on form load then set the now() function value.
One more setting to check:
Check if you have any format for the column data by right clicking on the control > Date Picker/Text Box Properties > Format under Data tab.
The format is set to None by default.
In addition, the Postback settings is under the Browser forms tab. Switch it to Always and see if it helps.