4 Replies Latest reply on Jan 13, 2014 12:56 PM by Nancy OShea

    Could someone explain this method of using forms


      this method used in a page of the web site I currently tinker on has a peculiar look to the way one of the forms was put in place. That form below and its code aswell should make the form visible on the page is desing view, but its isn't showing one, though on the server and web browser it does show that the form exist and working just fine, what Im trying to get at is that all the other forms are visible in desing view except this one, and I need to edit some of the text on it cause the letters are too far from the forms on the right. so where might this form be located? any help is greately appreciated cause I'm trying to get to know the whole site in case of a technical/design issue if one arises.

      search form.png

      album search.png

        • 1. Re: Could someone explain this method of using forms
          mhollis55 Level 4

          HTML forms all start with the declaration <form> and end with </form>


          You are asking specifically about methods. Forms have to call something, usually server-side code that makes something happen, sends an email, makes a calculation or does something. In your "manage album" form, your method is "post."Usually the method is either "get" or "post." The HTML specifications technically define the difference between "get" and "post" so that "get" means that form data is to be encoded (by a browser) into a URL while "post" means that the form data is to appear within a message body. But the specifications also give the usage recommendation that the "get" method should be used when the form processing has no lasting observable effect on the state of the world. Since a hacker may be able to screw around with the result of a "get," we typically use "post" unless we are trying to troubleshoot what is being sent.


          In the form you are displaying above, it looks like the script is going into a database and calling data from that. I cannot see the entire form, but that is what I think is happing. And it is most probably going into a MySQL database on your server.


          This is not being done on the form as much as it is being done by a php script.


          If you can point to the actual web page, we can help you more.



          1 person found this helpful
          • 2. Re: Could someone explain this method of using forms
            phpandcss Level 1

            1.    Yea all that is true and your point exactly is right on the money when you talk about method, but there is this page that when I open it in the DW editor program on my computr the page in design view will not show the form in its GUI form. It only shows code in code view tab next to design view, the form works fine just that I dont want to make it sound like I don't need to see the form in design view but yes thats what I've been asking someone to explain why it doesnt show GUI fields and button in DW while the rest of the other pages coded in php that have forms too are editable.


            2.   What did the editor do to hide the form gui interface from design view? SO where is the form coming from in the web browser if its not visible in design view on Dreamweaver?

            • 3. Re: Could someone explain this method of using forms
              osgood_ Level 8

              There is nothing in the snippet of code you provided which would make the form disappear from design view in Dreamweaver.


              Either there is a coding mistake in the html which might be causing this or the css may be set to display: none; which is highly unlikely.


              Could you paste the whole of the pages code here - html, php and css?

              1 person found this helpful
              • 4. Re: Could someone explain this method of using forms
                Nancy OShea Adobe Community Professional & MVP

                To see parsed data in PHP pages, you need a local testing server.






                Setting up a PHP environment in Dreamweaver




                Nancy O.

                1 person found this helpful