Skip to main content
Nintex Community Menu Bar

Format Date in Nintex Mobile

  • June 9, 2017
  • 3 replies
  • 14 views

Forum|alt.badge.img+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

Forum|alt.badge.img+14
  • Scholar
  • June 9, 2017

Try to enclose both parameters with apostrophes


Forum|alt.badge.img+13
  • Author
  • Novice
  • June 9, 2017

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.


Forum|alt.badge.img+14
  • Scholar
  • June 12, 2017

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.