I have been converting all my PDF document into HTML which is working well but I have one issue and that is the custom validation function I had put inside my PDF in adobe JavaScript I cannot run these in regular JS. Is there converter or libraries that can run this adobe JSX to regular JS or will I have to rewrite my scripts. I have over 300 PDF so if there were a way to do this it would save me a lot of time. Thanks
Sample Code (Adobe Acrobat JS):
function validateDocument() {
if(this.getField("FIELD1").valueAsString.length == 0)
{
app.alert("The field TEST is mandatory");
return false;
}
}