widget field value in another field

Ben Janssen asked on January 11, 2018 19:52

How can I user field value in another hidden field in a widget.

Priority: 4

WHERE: DisplayOrder = 4

In the where, ive tried the following:

DisplayOrder = {% Field["Priority"]%}

DisplayOrder = {% Field["Priority"].Value%}

DisplayOrder = {% Fields["Priority"]%}

DisplayOrder = {% Fields["Priority"].Value%}

Recent Answers

Trevor Fayas answered on January 12, 2018 00:24

As long as the property itself is hidden (can't resolve macros in widgets any other way) you should be able to do {% Priority %}, to be safe do DisplayOrder = {% Convert.ToInt(Priority, 0) %}

0 votesVote for this answer Mark as a Correct answer

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