You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issue during filling one of the forms ,I am suggesting to add new rule in the rule in the "rule editor" that implements a delay of X seconds. more details about the scenario is below.
a JavaScript code is triggered when one of the field changes, on selection of value 2 or 1 , the showHideForEmployee is triggered and it overwrites the values filled by Autofill-Forms!
sample code:
github Employee
github Employee ?
No
Yes
function showHideForEmployee()
{
if (currentSection == 'A'){
var isCompanyEmployee = getFieldValue(OUR_EMPLOYEE');
if(isCompanyEmployee == "1"){
fillRequestorInfo();
}else if(isCompanyEmployee == "2"){
makeReadOnlyFields(false);
}
}
}
function fillRequestorInfo()
document.getElementById('NAME').value = getFieldValue('FULL_NAME');
document.getElementById('ID').value = getFieldValue('EMP_ID');
makeReadOnlyFields(true);
}
I am facing an issue during filling one of the forms ,I am suggesting to add new rule in the rule in the "rule editor" that implements a delay of X seconds. more details about the scenario is below.
a JavaScript code is triggered when one of the field changes, on selection of value 2 or 1 , the showHideForEmployee is triggered and it overwrites the values filled by Autofill-Forms!
sample code:
function showHideForEmployee()
{
if (currentSection == 'A'){
var isCompanyEmployee = getFieldValue(OUR_EMPLOYEE');
if(isCompanyEmployee == "1"){
fillRequestorInfo();
}else if(isCompanyEmployee == "2"){
makeReadOnlyFields(false);
}
}
}
function fillRequestorInfo()
document.getElementById('NAME').value = getFieldValue('FULL_NAME');
document.getElementById('ID').value = getFieldValue('EMP_ID');
makeReadOnlyFields(true);
}
function makeReadOnlyFields(flag){
The text was updated successfully, but these errors were encountered: