Is it possible to force a form to open in a new window, either using goto form or via a hyperlink?
Thanks.
Jim
Open a Form in a New Window
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 10
- Joined: Sun Sep 15, 2013 7:44 pm
- Location: Andover, MA
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Add target="_blank" (with no spaces) to a Hyperlink Control using Html Element Properties. I think this will open the new form in either a new tab or a new window depending on the browser and its settings. I'm not sure if you can force a new window with all browsers. You can't do this with goto form.
If you want a popup instead, best to use a jQuery dialog.
Regards
Jon
If you want a popup instead, best to use a jQuery dialog.
Regards
Jon
0 x
-
- Ebase User
- Posts: 10
- Joined: Sun Sep 15, 2013 7:44 pm
- Location: Andover, MA
Thanks for the pointer.
I apologize if this seems like an obvious question - but I'm new to ebase and am not familiar with many parts of it - how does one specify the form to open in the hyperlink URL?
Also, is there a good tutorial on how to use a jQuery dialog? I've been looking but have not found one.....
Thanks.
Jim
I apologize if this seems like an obvious question - but I'm new to ebase and am not familiar with many parts of it - how does one specify the form to open in the hyperlink URL?
Also, is there a good tutorial on how to use a jQuery dialog? I've been looking but have not found one.....
Thanks.
Jim
0 x
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
On the Hyperlink Control, set the Link is external flag then set the External URL to ufsmain?formid=NEWFORMNAME.
If you want to do this dynamically it will be something like:
controls.HYPERLINK1.href = "ufsmain?formid=NEWFORMNAME";
There is a tutorial that introduces jQuery in the standard docs: Tutorials > Create Rich Clients Using jQuery. Also see the sample apps section of this forum http://forum.ebasetech.com/forum/viewforum.php?f=13.
If you want to do this dynamically it will be something like:
controls.HYPERLINK1.href = "ufsmain?formid=NEWFORMNAME";
There is a tutorial that introduces jQuery in the standard docs: Tutorials > Create Rich Clients Using jQuery. Also see the sample apps section of this forum http://forum.ebasetech.com/forum/viewforum.php?f=13.
0 x
Who is online
Users browsing this forum: No registered users and 5 guests