Forum
I have a form with a field that holds URLs
It would be nice if there was a a button next to the field on the form that when pressed would navigate in a browser to the URL ideally in a new tab of the browser that they have open.
Is this or something like this possible and could anyone give me some guidance.
I am only starting to get into the design of forms
Thanks
PS using nuBuilder more and more
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Button that takes URL field value and goes to website
-
- Posts: 40
- Joined: Thu Jun 23, 2016 10:33 am
- Location: Edinburgh
- Contact:
Button that takes URL field value and goes to website
My Blog - cloudydatablog.net https://cloudydatablog.net/
Re: Button that takes URL field value and goes to website
Dalkeith,
This is how you open another window..http://www.w3schools.com/jsref/met_win_open.asp
And you put it on a button like this..
Steven
This is how you open another window..http://www.w3schools.com/jsref/met_win_open.asp
And you put it on a button like this..
Steven
You do not have the required permissions to view the files attached to this post.
-
- Posts: 40
- Joined: Thu Jun 23, 2016 10:33 am
- Location: Edinburgh
- Contact:
Re: Button that takes URL field value and goes to website
Brilliant thanks will try it out
My Blog - cloudydatablog.net https://cloudydatablog.net/
-
- Posts: 40
- Joined: Thu Jun 23, 2016 10:33 am
- Location: Edinburgh
- Contact:
Re: Button that takes URL field value and goes to website
That worked great the only issue I have is that if the field does not reference 'http:/' as well as the url it combines the url in the url field to the existing url in the browser and creates a new window with the joint url.
My Blog - cloudydatablog.net https://cloudydatablog.net/
Re: Button that takes URL field value and goes to website
Dalkeith,
Did you read the url link I attached earlier?
Steven
Did you read the url link I attached earlier?
Steven
-
- Posts: 40
- Joined: Thu Jun 23, 2016 10:33 am
- Location: Edinburgh
- Contact:
Re: Button that takes URL field value and goes to website
Thanks Steve - I thought I did but clearly I missed something I will reread.
My Blog - cloudydatablog.net https://cloudydatablog.net/