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

Question

Question

Rename Autofill button working in Preview mode, not using url

asked on May 24, 2017

Hi,

 

I have seen the post where it mentions renaming the Autofill button when you are complete database lookups. I have renamed mine to 'Confirm'. This is a great feature to have the button, so we would like to keep it displayed (I hear you can turn it off in V10.2.1).

https://answers.laserfiche.com/questions/52796/Renaming-the-Auto-Fill-Lookup-Button-and-Moving-its-Location#52818

 

$(document).ready(function () {
  $('.autofill').text('Confirm');
});

This works very well when I am previewing the Form or running the Form from the process diagram. BUT when I load the form using the URL the button name simply displays as Autofill.

Does anyone have a way around this?

 

cheers

 

0 0

Answer

SELECTED ANSWER
replied on May 24, 2017

It's a bug in Forms 10.2 and has been resolved in Forms 10.2.1.

As a workaround for 10.2, you can use script

$(document).ready(function () {
  $(document).on('lookupstarted', function(){
    $('.autofill').text('Confirm');
  });
  $('.autofill').text('Confirm');
});

 

1 0
replied on May 24, 2017

Thanks Rui, that has got it!

 

cheers

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.