

JavaScript
This group is focused on customization specifically using JavaScript. If you have cool tools and want... View more
Noob Trying to learn Javascript
-
Noob Trying to learn Javascript
I am trying to make a stamp. I used one of the examples from bluebeam but when I modify the code to remove what I don’t need, I am no longer prompted for the dialog box. I do still have the Calculation textbox with the defined custom calculation field
var builder =
{
// These map to Text Fields in the Stamp
textBoxes :
[
{ field:”CheckedBy”, description:”Checked by:”, default:function() { return Collab.user; } },
{ field:”Date”, description:”Date:”, default:function()
{
var curDate = new Date();
return (curDate.getMonth() + 1) + “/” + curDate.getDate() + “/” + curDate.getFullYear();
}
},
{ field:”Spec”, description:”Spec #:”, default:function() { return “”; } }
]
}
Log in to reply.