Button - Parameter For New Tab

Hi Charlie,

I hope you are well. A quick question about a true/false parameter option for a Component built from a button.

Is it possible to bring the New Tab checkbox (anchor_blank) into parameters?

I have a few Components where it would be helpful to be able to offer the option of choosing a new tab or not for hyperlinks, rather than needing two separate Components to achieve the same.

Thanks,
Christopher

It’s already in there, but you might have to update that site since it’s relatively new. Enter Breakout mode to enter in the dynamic content with CTRL+ALT+B.

I was using these parameters to test it.

Have a great day.

{
  "new_tab" : {
    "type"    : "choose",
    "label"   : "New Tab",
    "initial" : true,
    "options" : [
      { "value" : true, "label" : "New Tab" },
      { "value" : false, "label" : "Same" }
    ]
  }
}

Thanks Charlie,

I had thought the toggle settings were not accessible. Great that they now are! The site I am using is on the latest beta, so it should all be there.

Many thanks, as ever,
Christopher

Hey Christopher,

You’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.