Skip to main content
Known Participant
March 7, 2016
Question

Using Javascript to force tab to go to another field if the choice matches, what´s wrong?

  • March 7, 2016
  • 1 reply
  • 1339 views

I am using this script to force the tab to go to a specific field if the choice matches. However this also happens in several other fields in the document without this script. Can you help me to fix it?

if (this.getField("Details of Loan Drop").value=="Combination of 1ST & 2nd Mortgage (Explain Here)"){

this.getField("Texto25").setFocus();}

if (this.getField("Details of Loan Drop").value=="Combination of 1ST & 2nd & 3rd  (Explain Here)"){

this.getField("Texto25").setFocus();}

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
March 7, 2016

‌Where did you add the script?

PlobAuthor
Known Participant
March 7, 2016

I added in the custom calculation script of the field

Bernd Alheit
Community Expert
Community Expert
March 7, 2016

What field?