Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drupal: Custom Form Creation, Best Method [closed]

I'm relatively new to Drupal, but not CMS's in general. I'm creating a site for a client. The most important part is creating a fairly complex form in which users input various types of data to be stored in the database. I had assumed the best method for doing this was to create a custom module. Is this the case, and if so can someone direct me to documentation or a tutorial on the best way to create a module of this nature? If not, I'm open to suggestion for the best way to create this kind of form even if it is hardcoding the content.

like image 1000
LoneWolfPR Avatar asked Aug 04 '26 06:08

LoneWolfPR


1 Answers

Drupal.org contains detailed tutorials on how to create modules, see for example this one.

The Drupal Form API will be your friend to handle easy data capture: How to use the Form API.

Depending on your data capture needs, the Webform module may already do what you want.

like image 125
Ryan Avatar answered Aug 06 '26 23:08

Ryan