Hello,
I want to use a subform field #Position# (input-text; editable) as URL for a button on the subform:
The button is defined as INPUT-BUTTON with Custom code
Pressing the button results in a webpage "localhost/minadmin/#Position#" ?
Maybe this is already discussed in the forum, but I cant find it.
Thank you for your help.
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.
Use subform field in button on subform
Use subform field in button on subform
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: Use subform field in button on subform
Use this Javascript:
Code: Select all
var p = $(this).attr('data-nu-form') + $(this).attr('data-nu-prefix').slice(-3) + 'Position'; window.open($('#'+p).val());
Re: Use subform field in button on subform
@kev1n,
solution works perfectly. Thank you.
yours, Hf2094
solution works perfectly. Thank you.
yours, Hf2094