ASP VBScript Details :: Validation problem

This thread was displayed: 1,672 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Ben Mathews
11-04-2004 01:58:46 GMT +2

Can you help me? I am creating a Nextensio 2 form to upload pdf files to the server and enter the file name and information alog with a representative icon to to an Access database. I have set the 2 file fields to required. When I try the form and browse to  the pdf file and the icon file I get validation errors -- The value of the field 'File Name' is incorrect!
The value of the field 'Icon' is incorrect! If I uncheck required and try the form I get the following error: Microsoft VBScript runtime (0x800A01A8)
Object required: 'KT_upl.UploadedFiles(...)'
/BusCenter/includes/functions.inc.asp, line 1312

Windows XP
W2000 server
ASP VB Script
DW MX 2004
IE-6

I am  under a deadline and need help fast.

Thank you!

Ben Mathews

Back | Reply | Quote | Top
Ionut MOICIANU
11-04-2004 16:27:54 GMT +2

We apologise for this inconvenience. We are working on fixing this problem right now and will send you the fix ASAP. Please contact me on e-mail and remind me about it (also provide the link to this forum post).

The next release version (2.8.3) will be available in a few days.

Thank you for understanding.

Ionut

Reply | Quote | Top
Ben Mathews
11-04-2004 22:51:52 GMT +2

Thank you, Ionut!

Ben

Reply | Quote | Top
Ionut MOICIANU
11-05-2004 10:35:29 GMT +2

I found a mistake inside the a page you uploaded here: you set bith SRF triggers on the same FILE field - the second should be on the fileld uploading icons. I have corrected this for you ans set the UniVal back to Required. Test and see if it works.

Ionut

Reply | Quote | Top
Ben Mathews
11-09-2004 21:04:43 GMT +2

Ionut:

Thanks for helping me!  I tried the file you fixed but I am still getting validation errors.

The value of the field 'File Name' is incorrect!
The value of the field 'Icon' is incorrect!

Here is a screen shot after the errors and after I filled in the blanks again to show you the data I put in these fields.

Would you take another look at it?

Thanks!

Ben

Reply | Quote | Top
Ben Mathews
11-09-2004 21:33:57 GMT +2

Ionut:

I remade the file and no longer get the validation errors but when I submit the form it returns to te form with all fields empty and does not upload the files or enter the data into the database.

Thanks again for the help!

Ben

Reply | Quote | Top
Ionut MOICIANU
11-10-2004 12:17:18 GMT +2

How is it supposed to upload the files if no Save Related File triggers are present on the page? Please build you page more careful, following the tutorial. Also, maybe you would want to define the "Icon" form field of type FILE.

Ionut

Reply | Quote | Top
Ben Mathews
11-10-2004 23:43:49 GMT +2

Sorry about sending a file without the Save Related File Triggers. I have reviewed all the tutorials and remade this file over and over but am still getting validation errors. It keeps telling me that The value of the field 'File' is incorrect! and The value of the field 'Icon' is incorrect! If I remove the check in the required field for those two fields and try the page I get the following error. Microsoft VBScript runtime (0x800A01A8)
Object required: 'KT_upl.UploadedFiles(...)'
/BusCenter/includes/functions.inc.asp, line 1312

Thanks again for helping!

Ben

Reply | Quote | Top
Ionut MOICIANU
11-11-2004 15:23:15 GMT +2

Ben, the file you uploaded is still not trully correct. You have used the same field ("statFileName") for both SRF triggers (also same priority). One of them should be applied for the "statIcon" field. The 162-166 lines should be:

'register the SRF1Icons trigger
 call Nxt_tNG_Insert.registerTrigger(AFTER, "KT_TriggerAFTER_SRF1Icons", 1, Array(iif(isSet(KT_upl.UploadedFiles("statFileName")), KT_upl.UploadedFiles("statFileName"), null)))

'register the SRF1Files trigger
 call Nxt_tNG_Insert.registerTrigger(AFTER, "KT_TriggerAFTER_SRF1Files", 2, Array(iif(isSet(KT_upl.UploadedFiles("statIcon")), KT_upl.UploadedFiles("statIcon"), null)))
%>

However, the errors you are getting are not caused by this. I could not reproduce your problem on my computer. Can you provide here (using internal post) FTP connection info to acess your server?

You should delete the "tNG" and "includes" folders from your site and regenerate them (you can do this by editing the SRF triggers from SB list and correctly apply them).

Ionut

Reply | Quote | Top
Ionut MOICIANU
12-16-2004 12:18:31 GMT +2

Hello Ben,

The problem was actually related to some code from the "functions.inc.asp" function that seems not to be compatible with your server settings. I have corrected this for you and we will analyse this and make necessary correction for the next relase version of ImpAKT2.

I apologise for any inconvenince and I thank you for your support. Please let me know if you ever need any more help.

Enjoy using our products!

Regards,
Ionut

Reply | Quote | Top
Sign In
Sign In to see your information.
© Adobe Systems Romania. All rights reserved.