Modify the <form> tag by adding attribute with a value of "http://webdevbas code for the revised <form> tag is <form method="post" action="http://webdevbasics.net/scrip Save your file as contact.html and test your web page in a browser. Your screen to Figure 9.20. Compare your work with the solution in the student files (chapte Now you are ready to test your form. You must be connected to the Internet to successfully. Enter information in the form controls and click the submit button. confirmation page similar to the one shown in Figure 9.22. Firefox Form Confirmation + Your information has been received. myName: Sparky Felke myEmail: sparky@webdevbasics.net myComments: Please contact me immediately about designing an accessible website for my company. Figure 9.22 The server-side script has created this web page in response to the form The demo.php script creates a web page that displays a message and tion that you entered. Where did this confirmation page originate? This was created by the server-side script on the action attribute in the for times students wonder what code is used in the demo.php file. Writing side processing is beyond the scope of this textbook. However, if you http://webdevfoundations.net/7e/chapter9.html to see the source cod
Added by Brian E.
Close
Step 1
The form in question has an action attribute with a value of "http://webbasics.net/scripts/demo.php". Show more…
Show all steps
Your feedback will help us improve your experience
Aarya B and 61 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Create a server page (RLA-client.php) to receive the data submitted by the home page (RLA-home.php). The server page provides a form with three input boxes and one button. The server page will display the user ID in the input box automatically. The user must enter the book code and title. The date and time of the request are automatically generated by the server page. The server page will submit all data (date-time, ID, code, and title) to another server page (RLA-Jxxxxxxxx-1.php). Use your student ID to name the next server page. Create a server page (RLA-Jxxxxxxxx-1.php) to handle the data submitted by the Client page (RLA-client.php). The server page displays the request record and two buttons. The first button is used to submit another request. The button has a link to the Client page (RLA-client.php). Users can add multiple requests before confirmation. The second button is used to confirm the request(s). This button has a link to another server page (RLA-Jxxxxxxxx-2.php). Use your student ID to name the next server page. Create a server page (RLA-Jxxxxxxxx-2.php) to process the data submitted by the previous server page (RLA-Jxxxxxxxx-1.php). The server page adds the request records into a data file (booking.dat). The request records are stored on different lines in the file. The server page displays a confirmation message, request records, and a button. The button has a link to the home page (RLA-home.php). Users can click the button to start a new session and submit new requests. The server page destroys the session and clears all data. Create a server page (RLA-Jxxxxxxxx-3.php) to manage the request records stored in the data file (booking.dat). The server page provides an input box and a button. The server page will submit data to itself. Users can use the server page to search for request records by keyword or create a backup file for the data file. The server page uses a class to manage or access the data file (booking.dat). The class has two private attributes (filename and handler) and several methods. Use your student ID to name the class. - The class has a constructor for opening the data file. - The class has a search method for searching for records by keyword. Users must enter the keyword (user ID, book code, or title). The method displays the result (list of request records). The method displays a message if the record is not found. - The class has a destructor for closing the data file.
Sri K.
6.10 LAB: Form for joining a social network (HTML) Download the ZIP file below containing an HTML and CSS file. Add a web form to index.html as shown below that allows the user to enter personal information for joining a social network. The webpage uses CSS to align the form widgets vertically. Join a social network Full name: Email address: About you: Photo: Choose File No file chosen Submit The form should: - Use the POST method and the 'multipart/form-data' enctype - Submit to https://wp.zybooks.com/form-viewer.php - Use a <label> for each form field and the label text shown in the image above - Use a <div> to surround each label and form widget, and a <div> around the submit button - Use a text <input> with name and id "fullName" to get the user's name - Use a text <input> with name and id "email" to get the user's email address - Use a <textarea> with 3 rows, 50 columns, and name and id "about" to get a short description about the user - Use a text <input> with type "file" and name and id "picture" to get the user's image - Use a submit <input> button - Use the required attribute for name and email fields
Akash M.
How to link an email address in html with the form?
Haricharan G.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD