Format Date in Nintex Mobile


Userlevel 6
Badge +13

Hi,

I've got a dropdown control with the days of the week as choices. I want to default the choice to the current day so I'm setting the default value to fn-FormatDate({Common:CurrentDate}, dddd).

This works fine for the Desktop mode but when publishing the form to the Nintex Mobile App I get an error "Invalid inline function control.

As far as I can see the format date runtime function is supported in mobile, I'd be amazed if the CurrentDate function isn't.

Any thoughts please?


3 replies

Userlevel 5
Badge +14

Try to enclose both parameters with apostrophes

Userlevel 6
Badge +13

No joy I'm afraid.

Found another thread with this issue back in June 2016. That was on iOS rather than Android though. That's now resolved apparently.

Userlevel 5
Badge +14

tested it on android with latest mobile app and observed following:

- format string 'dddd' resolves to day number, like 12

- format string 'EEEE' resolves to day name, like Monday

- above two I got working as default value with formula like fn-FormatDate({Common:CurrentDate},'EEEE'). for single line text box

- when tried with choice dropdown, I got an error like 'Inline formula is invalid'. but I do get that error for ANY formula that uses a inline function in choice dropdown default value setting

so it looks like both, formatDate function and choice control, do not work correctly.

Reply