Menu

blank field

Help
hindipogi
2008-01-30
2013-06-03
  • hindipogi

    hindipogi - 2008-01-30

    hello,

    my form is form9653. data for names and comments are recorded to the database but the data for file upload is blank. even the uploaded file is missing. there is no error message. it even show the confirmation page "Thank you" but the link is http://localhost/form/processor.php not the confirm.html? is this right?

    thank you in advance.

    hindipogi

     
    • TNTEverett

      TNTEverett - 2008-01-30

      This is correct because the confirm.html is an "include" into the process.php file.  This means that whatever is in th econfirm.html file becomes part of the process.php file. 
      I think the uploaded file is missing because of the variable name mixup between 2 and 3.  This can be fixed.  I used a modified version of your form (2 and 3 swapped) and I got the files into my /files/ folder. 

       
    • hindipogi

      hindipogi - 2008-01-30

      thank you, but how can i do that, can you show me an example?, one more question, what should be in the upload field? should it be blank or the link pointing to the files?

      thank you.

       
    • hindipogi

      hindipogi - 2008-01-30

      I just found out why there is a mixup in variable name. every time i make a form in phpformgenerator 3.0 beta and i change the order of the "add fields", thats where the mixup happens.

      i made sure that i don't rearrange the order of the added fields when i make forms. now i can see the uploaded files in the /files/ folder.

      i just have one more problem. please excuse my ignorance, how can i point to the files relating to the items in the database? the upload field in the mysql database is still empty.

       
      • TNTEverett

        TNTEverett - 2008-02-01

        Do you want me to have a look at the new form?  Provide me with the new form number and I will see what can be done.  Otherwise I can see what can be done with the old form number. 

         
    • hindipogi

      hindipogi - 2008-02-01

      thank you for staying with me.

      here is my new generated form, number "form10139".

      field_1 is ok   //"name"// /text/
      field_2 is ok   //"comment"// /text/
      field_3 which is supposed to be the upload field is blank.   //"upload"// /text/

      thank you again and sorry for my repeated questions.

       
    • hindipogi

      hindipogi - 2008-02-07

      any update to my problem? thanks.

       
      • TNTEverett

        TNTEverett - 2008-02-08

        Just sent you an email with instructions and a copy of my version 2.09 admin folder modified for the version 3.0 forms. 
        Let me know if you have any difficulty receiving this email.

         
    • TNTEverett

      TNTEverett - 2008-02-08

      Looks like it has already been rejected.  Send me an email address I can use to send you the information. 

       
  • S StJ

    S StJ - 2009-11-25

    Could I get an update?.. I have the same issue where the link to the file does not appear in the MySQL database..
    The files do upload to the files directory fine, but the link are not inserted into the db. Am I missing something?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.