Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to define select option input parameter type in user macro creation?

Alana Fernando
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2017

I need to define a select option input parameter in my user macro. how can i do this?

assume that i want below drop down list.

<select>
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="mercedes">Mercedes</option>
  <option value="audi">Audi</option>
</select>

1 answer

1 accepted

0 votes
Answer accepted
Alana Fernando
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2017

I found it by myself.

It is enum type.

for those who have the same issue, here is a example code for how to use enum type. 

## @param fontfamily:title=Font family|type=enum|desc=Choose font family. (some font families may not compatible with browsers)|enumValues=Times New Roman,Arial,Courier New,Tahoma,Trebuchet MS,Open Sans

<div style="font-family:$paramfontfamily;">$body</div> 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events