added automatic id attribute generation to all form controls
This commit is contained in:
parent
3058d839c0
commit
4c8ff049cc
29 changed files with 116 additions and 25 deletions
|
|
@ -424,6 +424,11 @@ $f->text({-name=>"nameGoesHere"});
|
|||
$f->text(name=>"nameGoesHere");
|
||||
$f->text({name=>"nameGoesHere"});
|
||||
|
||||
Also every form control now has an auto-generated ID attribute to aid in the
|
||||
swift development of AJAX features. You can override the autogenerated one by
|
||||
passing in an id parameter like this:
|
||||
|
||||
$f->text(name=>"this",id==>"myownpersonalid");
|
||||
|
||||
See WebGUI::HTMLForm and WebGUI::Form::Control for additional information.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue