Submitted by Dan on Mon, 06/06/2011 - 9:32pm

Hello again,

Just a quick note, when using

$form['author']['homepage'] = NULL;

it caused the form validation to throw up some php errors, so instead I used

$form['author']['homepage']['#type'] = 'hidden';

which seemed to work (one php notice appeared, but was never seen again!)

thanks again for the tutorial!

The content of this field is kept private and will not be shown publicly.

Plain text

  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.