Hi
In my subform I want to set an html link to my server using the hash value of the field bl_name. Bl_name is part of the subtable
This isn't working. Any idea how to set my url?
<a href="https://myserver/uploads#bl_name">Download</a>
Johan
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.
hash value in html
Re: hash value in html
Kevin
I'm almost there but I know nothing about JavaScript
with
I get url myserver/filename
What i need is myserver/uploads/filename.
Can you help me wth that?
Thanks
Johan
I'm almost there but I know nothing about JavaScript

with
Code: Select all
var p = $(this).attr('data-nu-form') + $(this).attr('data-nu-prefix').slice(-3) + 'bl_name'; window.open($('#'+p).val());
What i need is myserver/uploads/filename.
Can you help me wth that?
Thanks
Johan
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact:
Re: hash value in html
What value does the field bl_name contain? A screenshot might help to understand the problem better.
Re: hash value in html
Kevin
bl_name contains the name of the pdf-file on my server
bl_name contains the name of the pdf-file on my server
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact:
Re: hash value in html
So you need to add the 'myserver/uploads/' string (replace with your server of course)
Code: Select all
window.open('myserver/uploads/' + $('#'+p).val());