macros not working in on line forms

Amol Raut asked on February 17, 2017 11:35

I want to give default text box values for First name , last name and email in my forms and I'm using macros for their values. But it is not not working. please provide proper solutions. (Macro Format= {% CurrentUser.LastName #%})

Recent Answers


Ilesh Mistry answered on February 17, 2017 11:44

This should work

{% CurrentUser.FirstName #%}

{% CurrentUser.LastName #%}

Just make sure you press the black arrow to expand the box 'Edit Value'. Then add the macro in there and this should work.

1 votesVote for this answer Mark as a Correct answer

Amol Raut answered on February 17, 2017 12:08 (last edited on February 17, 2017 13:30)

Thank you for your help.

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on February 17, 2017 17:07

It's not necessary to use black tick box. However please make sure that you're not getting Macros security exception in the Event logs.

An exception will prevent Macro evaluation thus not showing any values out there.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.