You are viewing limited content. For full access, please sign in.

Question

Question

Show all hidden fields that have values

asked on May 8, 2017

I am working on a form that contains hidden fields that are assigned values through look-up rules that the submitter does not need to see. It is necessary for the form reviewer to see all the linked in values. Depending on which sections the submitter filled out, not all hidden fields will have values.

I would like, at time of submission, to show all the hidden fields that have values so they are available to the reviewer. Could someone help me out?

0 0

Replies

replied on May 9, 2017

Hi Leigh,

You could achieve it with custom script. The detailed script varies based on where you use it (which I didn't understand clearly): Do you mean to show hidden fields when viewing the user task, or viewing submitted form? If it's user task, is it a read-only or not?

Here is an example for showing fields on submitted form:

$(document).ready(function(){
  if ($('input[name=IsLocked]').val() == "True") {
    $('li:hidden').each(function(){
      if ($(this).find('.ro').text()) {
        $(this).removeClass('hidden');
      }        
    })
  }
})

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.