[Skip Header and Navigation] [Jump to Main Content]
Home
רימלנד

Languages

  • English
  • עברית

User login

  • Create new account
  • Request new password
Home

form api

Setting "maxlength" attribute on password_confirm field type in Drupal 6

Submitted by boaz on Wed, 07/01/2009 - 12:21
  • howto
  • technical
  • drupal 6
  • form api

I recently needed to alter a standard password_confirm field type in a form that I maintain. Apparently, setting '#maxlength' property on password_confirm form field has no effect. No helpful at all also proved Drupal FAPI official reference (oddly) which has no mention of password_confirm element(!). Anybody who knows why is welcome to hint me.

  • boaz's blog
  • 1 comment
  • Read more

Drupal FAPI tales - need a token?

Submitted by boaz on Tue, 12/30/2008 - 22:10
  • technical
  • csrf
  • drupal
  • fapi
  • form api
  • token

Long time no post. No time to post. Cest la vide, eh? Lets get to the point shall we?...

Abstract:
I'm implementing a site now with nice amount of self-crafted forms. Drupal of course. Drupal 6 of course.
Now, I had this problem with one of the forms when testing how it works (with the others I didn't reach that state yet):

  • boaz's blog
  • Add new comment
  • Read more
[Jump to Top] [Jump to Main Content]