Menu

How do you edit a form once it is created?

Help
2006-01-31
2013-06-03
  • cindyatwork

    cindyatwork - 2006-01-31

    Hello,
    I have created 3 long forms and I would like to change some of the fields to make them NOT required fields and would also like to change some of the fiel names so that when we get the form results we will know what the response is all about.

    I have figured out how to edit the look of the form using an HTML editor, but can't seem to change the background stuff.

    I need to have this form done this afternoon. Can anyone help? I would really appreciate it!!

    cindy@duaneforrest.com

     
    • TNTEverett

      TNTEverett - 2006-02-01

      Go to your process.php file and edit out the variables you don't want to check.  The line lookes something like this:

      if($Name=="" || $EmailAddress=="" || $Comment=="" ){$errors=1;

      So if I did not want to make the Comment required I would do this (only modify variables inside the curved brackets, the || means "or"):

      if($Name=="" || $EmailAddress=="" ){$errors=1;

      Next edit your form1.html and remove the * near and "required" field.  That should do it.

       

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.