G Tellez wrote:
Hello,
Two questions about formlets:
1. Is there any chance to change the default input field size (on the
screen, not the length of the input value) of an inputValue routine?
Yes. Use inputValueA. This takes two arguments: an initial string value,
and a list of attributes. So you could do something like:
inputValueA("default", [("size", "32")])
or you could use CSS.
2. Can the formlets' feedback messages have another font style/colour?
Yes. Have a look at the HTML that is generated for error message and
you'll see that they are wrapped in HTML span elements whose CSS class
is "error". Just define this class to be whatever you want.
Sam
_______________________________________________
links-users mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/links-users
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.