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

Question

Question

How to do a lookup rule based on a field input?

asked on July 13, 2015

The form I'm working on needs to calculate and populate the fiscal year based on the current date. The charges to purchase a license for the 'calculated and populated' fiscal year must populate in the fields via lookup rules.

I have used the onload function for calculating and populating the fiscal year.

However, the lookup rules take precedence over the onload function and the Charge fields are left blank.

Can I use lookup rules to pull the data from the datasource when an event occurs? Are there any other alternatives?

 

Regards,

Sneha

0 0

Replies

replied on July 13, 2015

You can trigger lookup rule in your custom functions like this (Field1 is match field id):

$("#Field1").change();

 

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

Sign in to reply to this post.