Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
I have a form, I'd like to setup as tabbed viewing. I have the "Choice" control setup to render as buttons and a javascript variable name of "TabRules".
I want to use a button control, that when it's pressed it goes to the next tab. Presumably, by setting a javascript function that sets it?
I'm using the following code.
NWF$('#' + TabRules).find('input:radio[value="Start"]').attr("checked","true");
(Start is one of the values of the choice buttons.)
What am I missing? Thanks in advance.
Try using this
NWF$('#' + TabRules).attr('checked', true);
Hi Rick. Yes. I can setup the tab browsing. What i'd like is to have a button at the bottom of the form that says something like, "Save and continue", that will then, using javascript, "change the tab". (By selecting an item in the choice list.)
Does that make sense?
Thank you, Sojan. How would the code above show it what "tab" to move to?
You can set a value to a text box control to hold the position of your tab. On button click you can set a value using the have script.
This is what I used. It clicks the button, which changes everything associated with it in one go:
var objRequestType =NWF$('#' + varRequestType);
objRequestType.find('input:radio[value="'+strCurrentTabName+'"]').click();
"varRequestType" is the ClientID variable set to the Choice control ('render as buttons' selected inside the control).
"strCurrentTabName" is just text of the item I wish to click.
Thanks,
~~Kolten