Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Hyperlink in popup doesn't work correctly

I have share the app Monzia Tax Calc with support. On the first screen if you click the question mark to the right of the second input box it will open the popup with the hyperlink in it.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Hyperlink in popup doesn't work correctly

Terry, please use label instead of link, and add JS on click event for it:

preApperyio.navigateTo("Monzia");/pre

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Hyperlink in popup doesn't work correctly

Since the link is embedded in some text in a html component, Can I add html code for the label component?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Hyperlink in popup doesn't work correctly

Yes, you can do it via JS. Also, you can add the click event handler for any tag from the HTML component.

E.g. you have HTML component "myHtml":

pre By registering on span class="link"MONZIA/span for free we can help you to claim all your applicable expenses and reduce your tax bill .

/pre

You can use JS, that add handler you need:
preApperyio("myHtml").find(".link").on("click", function(){
Apperyio.navigateTo("Monzia");
});/pre

Return to “Issues”