AnsweredAssumed Answered

Incorrect item properties in confirmation message

Question asked by akalmar on Feb 8, 2017
Latest reply on Feb 8, 2017 by emha

I've recently come across a problem where the item properties aren't coming across properly when embedded in a confirmation message.  It's a bit hard to explain, so I'll include screen shots.  

 

First of all, this is the radio button control I'm using:

 

The user either selects "Proposal" or "Project".  Proposal is the current default.  Both the choices and the default are controlled on the SharePoint side rather than on the Nintex form side.  

 

I have a message that pops up when the user clicks the "submit" button.  

Confirmation message

 

However, even if the user has selected "Project", the confirmation message always shows "Proposal".  

 

I've attached a Client ID JavaScript variable (varReqType) to the radio button control and included the following JavaScript:

 

NWF$('#' + varReqType ).change(function(){
var requisitionType = NWF$("input[formcontrolid^='3e725e19-4c05-43fd-aedd-d5dc09f58bb7']:checked").val();
console.log("Req Type = " + requisitionType);
});

When the Proposal radio button is selected, the console shows "Proposal".  When "Project" is selected, the console logs it as "undefined".   I had been thinking I could get the appropriate value using JavaScript and then populate a hidden field using that data.  However, since the radio button is coming up as undefined for the Project choice, that idea is no longer viable.  What could be wrong here?  Please help!  Thanks!

Outcomes