Show Label and Link Logic

All Quick 'n Easy Web Builder support issues that are not covered in the forums below.
Post Reply
moris
Posts: 251
Joined: Fri Aug 18, 2017 8:43 am

Show Label and Link Logic

Post by moris »

Hi,

I need your expertise with something I would like to create using Quick n Easy Web Builder.
I have a button and a label and I would like that once pressed it'll do the following:
1. Open a link.
2. Show a label (that is set on hide in default).

Is that somehow possible? This logic can be very helpful for my project.

Thank you!
User avatar
Pablo
Site Admin
Posts: 3915
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Show Label and Link Logic

Post by Pablo »

You can trigger actions with events.
moris
Posts: 251
Joined: Fri Aug 18, 2017 8:43 am

Re: Show Label and Link Logic

Post by moris »

If I set two events:
1. Show Object.
2. Link.
The link is opened on the same window, can I somehow do it with _blank?

Thanks.
User avatar
Pablo
Site Admin
Posts: 3915
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Show Label and Link Logic

Post by Pablo »

There is no '_blank' option for events.
Link will replace the current URL.
moris
Posts: 251
Joined: Fri Aug 18, 2017 8:43 am

Re: Show Label and Link Logic

Post by moris »

Can I add it as a feature request? According to Google it seems like there is a solution for this using Events.
Using: window.open('https://www.w3schools.com', '_blank');

Thanks.
User avatar
Pablo
Site Admin
Posts: 3915
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Show Label and Link Logic

Post by Pablo »

You can use that code via the 'JavaScript' option in Events.
moris
Posts: 251
Joined: Fri Aug 18, 2017 8:43 am

Re: Show Label and Link Logic

Post by moris »

Perfect, thanks.
Post Reply