JavaScript for combobox and checkbox not working as expected.

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
IntegraHarlan
Posts: 84
Joined: Fri Jan 24, 2020 3:37 am

JavaScript for combobox and checkbox not working as expected.

Post by IntegraHarlan »

Hi, There are two issue with Java script that we are experiencing.

The first issue has to do with getting the "Export Value" from a combo box using the JS engine.
When getting the value from a combo box, we should get the "Export Value". However, we are getting the display value instead.
When using Adobe we get the "Export Value" which is expected.

The second issue is when setting a checkbox value to "off", it is hidden using VintaSoft.
When using Adobe, the check box is unchecked and left visible when the value is set to off.
This what we are expecting.

We are using VintaSoft Imaging .NET SKD version 12.0.2.1

This is a priority issue for us as our customers are expecting the their existing JavaScript forms to work per the Adobe standards.

Thanks
Harlan
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: JavaScript for combobox and checkbox not working as expected.

Post by Alex »

Hi Harlan,

Sorry for delay.

We reproduced the first problem ("Export Value") and will fix it in version 12.1.4.1.

For reproducing the second problem (checkbox value to "off") we need to analyze PDF document because document behaviour depends from JavaScript code in PDF document. Please send PDF document to support@vintasoft.com.

Best regards, Alexander
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: JavaScript for combobox and checkbox not working as expected.

Post by Alex »

Hi Harlan,

We fixed the problem with "Export Value" and now SDK works like Adobe. Improved algorithm will be available in VintaSoft Imaging .NET SDK 12.1.4.1.

For reproducing the second problem (checkbox value to "off") we need to analyze PDF document because document behaviour depends from JavaScript code in PDF document. Please send PDF document to support@vintasoft.com.

Best regards, Alexander
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: JavaScript for combobox and checkbox not working as expected.

Post by Alex »

Hi Harlan,

Thank you for PDF document that allowed to reproduce the problem.

Both problems are fixed in version 12.1.4.1.

Best regards, Alexander
IntegraHarlan
Posts: 84
Joined: Fri Jan 24, 2020 3:37 am

Re: JavaScript for combobox and checkbox not working as expected.

Post by IntegraHarlan »

Hi Alex,
Thank you for your speedy response to this issue.
Post Reply