In this recipe, we'll learn the basic technique for creating forms. Lift offers a neat and easy mechanism to help the creation of forms, called LiftScreen.
We'll modify the code that we used in the recipe, Sending e-mails using Gmail's SMTP server, in Chapter 1, Getting Started with Lift Basics.
You can duplicate and rename the code that we created before to keep the original example, or you can modify it during this recipe.
ptag and its contents in the
index.htmlfile with the following code:
snippetpackage; it should contain the following code:
package code.snippet import net.liftweb.http._ import code.lib.SendEmail ...