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!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums 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: 4305
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 446 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