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

Question

Question

Holding Values on Form Submission

asked on January 12, 2017

Hi,

We have the following javascript to auto populate portion of an html fields based on the drop down choice.  It works great, but when the form is submitted the spots where the value should be inserted no longer have the data from the drop down.

//Autofill League Name 
$(document).ready(function () {
  $('#Field1').change(function(){
                $('.selectedname').text($('#Field1 option:selected').val());
  });
});

//Autofill Year
$(document).ready(function () {
  $('#Field3').change(function(){
                $('.selectedyear').text($('#Field3 option:selected').val());
  });
});

 

Thanks!

0 0

Replies

replied on January 16, 2017

does this field are read only set in the field setting, if yes that maybe could cause your issue.

if it is the case you should set these field to read only with the java script.

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

Sign in to reply to this post.