Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michiel Betel on Mar 18, 2008 03:57
open dhtmlx forum
dhtmlxvault userdata

Dhtmlxvault runs a form in an Iframe with its own submit routine. I'm using it on a form where I have a couple of selectboxes and inputs desscribing some metainfo for the uploaded files. Is there a way of having the values of these user supplied values available in the uploadhandler?

Thanks, Michiel
Answer posted by Support on Mar 18, 2008 04:58
By default dhtmlxVault creates its own form for data sending , but you can change logic - so it will use existing form , and as result data from all inputs included in form will be available on server side. for uploading handler routine

dhtmlxvault.js line 119
    this.uploadForm = document.createElement("form");
this line can be updated as
    this.uploadForm = document.forms[0];
to use existing form

Answer posted by michiel betel on Mar 18, 2008 07:45
Thanks,

I solved it without modifying the code my using a session cookie.

Michiel