O'Reilly logo

CMS Made Simple Development Cookbook by Samuel Goldstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Using the Module Form API

In this chapter, we will cover:

  • Creating a basic form in a module
  • Restricting and sanitizing parameters to a module
  • Using debug_display to see what parameters your module is receiving
  • Embedding your module output in a different page after a form submission
  • Making your module display its output without disrupting the rest of the page
  • Creating checkboxes that always submit a value

Introduction

The primary purpose of any computer program is to accept input, do something with it, and output something meaningful based upon the processed input. Websites are no different; they format and display dynamic or static content depending on the user's requests. As early as the HTML 2.0 standard, there has been the concept of interactive ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required