Closed (fixed)
Project:
Frequently Asked Questions
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
2 May 2007 at 16:00 UTC
Updated:
1 Jun 2007 at 13:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
Gurpartap Singh commentedRemoved a little debug code which was used to test if taxonomy module exists..
Comment #2
Gurpartap Singh commentedOpps attached the same one above. This is correct one, hopefully...
Comment #3
stella commentedadded to CVS
Comment #4
(not verified) commentedComment #5
stella commentedReleased in faq-5.x-2.3.
Cheers,
Stella
Comment #6
nancydruHmm. It's my understanding that the "proper" way to handle a form is to use hook_validate to check the input and then hook_submit to actually store the data. That way you don't end up saving the values until everything passes validation.
Comment #7
stella commentedThat's true in cases where you want to validate the data entered and where at least part of the data entered is not a system variable setting. For configuration forms that only contain system variables which are to be set in the "variable" table, you can use the system_settings_form() function.