Skip to main content
Nintex Community Menu Bar
  • 10000+ Topics
  • 73,334 Replies
10000+ Topics
Dynamically change choice buttons

I am not understanding how the change the choice values when they are selected to: render as buttons.Here is what I have for now (based upon blog from Sean Fiene ):NWF$(document).ready(function(){    var changeMe = NWF$('#' + dd1);    NWF$(changeMe).click(function(){ var x = NWF$('#' + dd1 + ' option:selected').val();        console.log(x );        if( x == 'Option 1')        {            var y = ['tab1', 'tab2', 'tab3', 'tab4']        }        else if(x == 'Option 2')        {            var y = ['tab1', 'tab2', 'tab3', 'tab4', 'tab5']        }        else if(x == 'Option 3')        {            var y = ['tab1', 'tab2', 'tab3', 'tab4', 'tab6', 'tab7']        }        else        {            var y = 'error'        }        console.log(y);                var myTabs = NWF$('#' + dd2);        myTabs.empty();        NWF$.each(y, function(val, text){            myTabs.append(                NWF$('<option></option>').val(val).html(text)                );        });    });});Look

I would like to use Div tag on Nintex Form.

Hello,I'm using Nintex Form on SharePoint and trying to use jQuery to it.I want to sandwich the Choice with DIV tag. But can't fine anywhere to edit html..And also want to set an ID to the choice.Like this:   <div class="block">    <div id="radios">            <input id="option1" name="options" type="radio">                <label for="option1">1 <br>year</label>           <input id="option2" name="options" type="radio">                 <label for="option2">2 years</label>           <input id="option3" name="options" type="radio" checked>                 <label for="option3">3 years</label>           <input id="option4" name="options" type="radio">                 <label for="option4">4 years</label>           <input id="option5" name="options" type="radio">                 <label for="option5">5+ years</label>     </div>    </div>Is there a way?