Module with Script Include for URL (URL from arguments) returns an "Unparseable number"

Clayton Bagwell
Tera Contributor

I have a module that starts a request form. The request has a "Year" field that is a Choice list. The module link type is URL (from arguments). When the year is "hard-coded" in the module arguments, it works fine.

find_real_file.png

I created a Script Include that can get the Current Year from a Properties table. The script works fine when I run it as a Background script.

find_real_file.png

However, when I try to use a javascript call in the Module arguments, the request form opens but the Year does not get set and returns an error message: "Unparseable number".

find_real_file.png

====================================

find_real_file.png

Any suggestions on what I might be doing wrong? Am I not calling the script correctly?

 

Thanks for any help you can provide.

2 REPLIES 2

Mike Patel
Tera Sage

try using javascript:new getXXX();

Hi Mike,

 

That didn't work. It still gave me an "Unparseable Number" error, though slightly different.

find_real_file.png