Hey All,
We are trying to use Javascript functions within the Javascript -> "On Form View > Evaluation" page action but need to know what level of Javascripting is supported. Are we allowed to use full functions within the code block for evaluation. in pseudo code, we are looking to evaluate if a check box is selected, pre-fill-in a texbox BUT if unchecked, we would want to clear the textbox.
example
function GenTemp() { var x = '[Status:]'; if ('[Status:]' != '(0)') { [token] = (Math.floor(Math.random() * 10000000) + 1000000); } else { [token] = ''; } }
GenTemp();
Thanks
Dave
Can someone from Team Mandeep let us know if this is possible or not. We've been experimenting and have had no luck so far. In addition, it would be great to have more in depth developer coding examples for the tools so we can see more of the advanced functionality on the full scope and power of the tools.
Has anyone had any luck using the Javascript validations in a function format?
Team Mandeep, can someone at least chime in for feedback?