A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged


You can use the Form API setFieldAttribute() method to set the attribute of a field based on your config params. Then when you do renderFieldset() - which basically just does a renderField() for each of the fields in the fieldset - the revised field attribute will be taken into account when that field is rendered. So what you probably want to do is ...

Top 50 recent answers are included