How to prevent links from performing actions

I want the link to take no action,and not jump to any screen,like javascript:void(0).How to achieve it

Solution

Hi Yi, you can use a link to an external URL with # as destination.

But why do you need it?

Solution

Hi Yi,

You could just create an empty screen action and assign it as the destination of the link.

You do this by clicking the destination property on the link widget and clicking (New Screen Action).

Make sure the logic inside of this screen action is left empty:

Then apply screen action to the destination property of the link widget now:


Let me know if you get stuck.

Cheers,

Jack.

João Melo wrote:

Hi Yi, you can use a link to an external URL with # as destination.

But why do you need it?

thanks,I want to keep link style,I use your way,set URL is "javascript:void(0)"

Jack McMillan wrote:

Hi Yi,

You could just create an empty screen action and assign it as the destination of the link.

You do this by clicking the destination property on the link widget and clicking (New Screen Action).

Make sure the logic inside of this screen action is left empty:

Then apply screen action to the destination property of the link widget now:


Let me know if you get stuck.

Cheers,

Jack.

This method will also make the webpage generate an action. I want to implement no action. The above answer has solved my problem. Thank you! =)