Modify name field on your isp form so that is now text field

Assignment Help Programming Languages
Reference no: EM131321012

Lab- Forms, Loops and Strings

Submission Instructions

How

Please submit your lab report to the Lab4_Submission folder in Moodle.

When

Labs are due in 1 week on Feb. 13, 2014

Exercises:

Goals:

- Gain more hands-on with using PHP string functions
- Create and integrate forms with PHP scripts.

Step 1: Name field validation

Modify the Name field on your ISP form so that is now two text fields - one for ‘First Name and one for ‘Last Name'.

Step 2: Email Address

- Add another text box to your form and label it "Email Address".
- Set a size of the text box = 60 characters for the email address.
- Use a PHP function to validate the email address.
- If the email address passes validation, echo it back to the user.

Step 3: Password Fields and Validation

- Add two password fields to your ISP form.
- The first password field should be labeled "Enter Password".
- The second password field should be labeled "Confirm Password".
- Make that when you create the password field that you define it as type = ‘password'.

Step 4: Processing String Tokens in an Address

Add another text box to the form you created for ISP Usage. The label for the text box should be "Address". It should accommodate up to 60 characters. The text string you enter should be in the following format:

1024 Main St., Unit 502, Montpelier, VT02044 (no comma after the state)

Your job is to break the string into "tokens". For example we'd like to be able to store each part of the address in a separate variable or position in an array and print each variable on a separate line like this:

1024 Main St.
Unit 502
Montpelier
VT 02044.

Reference no: EM131321012

Questions Cloud

What is difference in cash flow between the two companies : Depreciation and Cash Flow- Rogers Corporation has a gross profit of $880,000 and $360,000 in depreciation expenses. The Evans Corporation also has $880,000 in gross profit, with $60,000 in depreciation expenses. Selling and administrative expenses i..
What was the value of depreciation expenses : Income Statement- Precision Systems had sales of $820,000, costs of goods of$510,000, selling and administrative expenses of $60,000 and operating profit of $103,000. What was the value of depreciation expenses? Set problem up as partial income state..
Describe how marketing efforts and marketing mix will change : Topic: Target's permanent Layaway Plan, Describe how your marketing efforts and marketing mix will change with each phase in the product life cycle
Advantages of internet-based survey research : 1. What are the advantages of Internet-based survey research over traditional survey research? 2. Conduct an online search for "green awards" to learn about the various awards programs recognizing environmental consciousness and sustainable practi..
Modify name field on your isp form so that is now text field : Modify the Name field on your ISP form so that is now two text fields - one for ‘First Name and one for ‘Last Name'. The second password field should be labeled "Confirm Password".
Discuss how you have planned for your retirement so far : Discuss how you have planned for your retirement so far, whether you are on track to reaching your goals, and what changes you need to make. Are there any specific ideas that will help you reach your goals and if so, discuss.
Competitive intelligence so hot in today : Why is competitive intelligence so hot in today's business environment?
How do we know whether a particular score is an outlier : What is a restricted range, and what effect does it have on correlation coefficients? How would you detect and correct a restricted range?
Promote the independence of the federal reserve : What are the factors that promote the independence of the Federal Reserve? Should the Federal Reserve be independent? Why or why not?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd