If_v2 Multiple Output Options Depending On Input

Hi Guys, I was curious how could I create an instance where if the value is 1 click here, if the value is 2 click here if the value is 3 click here. My current data is coming from my website’s forum where a client selects that they want to fine-tune their property search then they enter in the radius in miles that they want to search from their ideal location. I simply need to take this mileage number and select it within my MLS search page.

{
“Command”: “if_v2”,
“Target”: “${Fine_Tune_Search}.includes(“Address”) == true”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “pause”,
“Target”: “1000”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “elseif”,
“Target”: “${RADIUS_IN_MILES}==1”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id=“RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”]/ul/li",
“Value”: “”,
“Targets”: [
"xpath=//
[@id=“RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”]/ul/li”,
“xpath=//li”,
“css=#RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider > ul > li.rslItem.rslItemFirst.rslItemSelected”
],
“Description”: “”
},
{
“Command”: “elseif”,
“Target”: “${RADIUS_IN_MILES}==5”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”,
“Value”: “”,
“Targets”: [
“id=RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”,
“xpath=//[@id=“RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”]",
“xpath=//div[@id=‘RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider’]”,
“xpath=//div/div”,
“css=#RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”
],
“Description”: “”
},
{
“Command”: “elseif”,
“Target”: “${RADIUS_IN_MILES}==10”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”,
“Value”: “”,
“Targets”: [
“id=RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”,
"xpath=//
[@id=“RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”]”,
“xpath=//div[@id=‘RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider’]”,
“xpath=//div/div”,
“css=#RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”
],
“Description”: “”
},
{
“Command”: “elseif”,
“Target”: “${RADIUS_IN_MILES}==15”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id=“RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”]/ul/li[8]",
“Value”: “”,
“Targets”: [
"xpath=//
[@id=“RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”]/ul/li[8]”,
“xpath=//li[8]”,
“css=#RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider > ul > li:nth-child(8)”
],
“Description”: “”
},
{
“Command”: “elseif”,
“Target”: “${RADIUS_IN_MILES}==20”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id=“RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”]/ul/li[9]",
“Value”: “”,
“Targets”: [
"xpath=//
[@id=“RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider”]/ul/li[9]”,
“xpath=//li[9]”,
“css=#RadSliderWrapper_ctl00_ContentPlaceHolder_RadiusSlider > ul > li.rslItem.rslItemLast.rslItemSelected”
],
“Description”: “”
},
{
“Command”: “else”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “end”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},

Your macro with “else if” looks good. What goes wrong?