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

Question

Question

Automatic Autofill for Collections - Change in 10.2.1?

asked on November 29, 2017

We used the following code to auto-click the autofill button for a collection on a form. It worked in 10.1, but no longer does in 10.2.1:

 

Following code work in Forms 10.1:

$(document).ready(function () {

   function autofill() {
    $('.autofill').trigger('click');
  }   
 $('.lookupCondition').change(autofill);
});

$('.cf-collection-append').click(function(){  
  function autofill() {
    $('.autofill').trigger('click');
  } 
  $('.lookupCondition').change(autofill);
});

After upgrade to 10.2.1, only the first set in the collection is functioning - any further additions to the collection won't work. Can anybody point out the flaw? It was working in 10.1, so curious why it would stop now in 10.2.1. 

 

Thanks, all!

0 0

Answer

SELECTED ANSWER
replied on November 29, 2017

Hi Philip

In version 10.2.1 Laserfiche added an AutoFill click feature directly in the Lookup Section so that you no longer need to code this. You may want to check that out.

0 0
replied on November 29, 2017

Wow, thanks Steve. Would've thought I'd have noticed that little checkbox while I was trying to figure this out! Thanks a bunch!

 

0 0

Replies

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

Sign in to reply to this post.