0 Replies Latest reply: May 14, 2013 10:23 AM by liwill RSS

    How do I update the value of a hidden field?

      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;