0 Replies Latest reply on May 14, 2013 3:23 PM by user11327032

    How do I update the value of a hidden field?

    user11327032
      Jsp has hidden field. The value of the hidden field is set.


      <%= RequestCtx.getSessionInfoAsHiddenParam() %>
      <INPUT type ="HIDDEN" name=billtoContactPartyId" Value="<%=billtoContactPartyId %>">


      Based on some logic I've added to the jsp. I want to update the value of the hidden field. This does not work. How do I update the value?

      windowForm.elements['billtoContactPartyId'].value = windowForm.elements['defaultcontactPartyId'].value;