Hi,
I need to make the edit forms more user friendly by grouping fields together.
Is Anyone have an idea on how to achieve nuBuilder edit form fields grouping:
Normally I use the <fieldset></fieldset> tag to achieve this. And I gave it a try on an edit form, by inserting two html objects around the fields, but I had no access.
Any idea on how to accomplish this will be welcome.
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.
Grouping edit forms fields
-
- Posts: 11
- Joined: Wed Sep 29, 2010 8:13 pm
Grouping edit forms fields
You do not have the required permissions to view the files attached to this post.
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact:
Re: Grouping edit forms fields
csnet, you could use an html object before your first field with some code like this:
or, better, put few lines of jQuery in nuLoadEdit() function:
Hope this helps,
Max
Code: Select all
<fieldset style="height:250px; left:15px; top:10px; width:390px; position:absolute;"><legend>My fieldset</legend></fieldset>
Code: Select all
function nuLoadEdit() {
$("#myfirstfield").before('<fieldset id="myfieldset">');
$('#myfieldset')
.append('<legend>My group legend</legend>')
.css({
'height' :'250px',
'left' :'15px',
'top' :'10px',
'width' :'390px'
'position':'absolute'
});
});
}
Max
-
- Posts: 11
- Joined: Wed Sep 29, 2010 8:13 pm
Re: Grouping edit forms fields
Hi massiws,
thank you. I used the html object approach and it works fine.
thank you. I used the html object approach and it works fine.
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact: