If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
I want to control the maximum input length of a field according to a selection made by the user in a previous (listbox) field. Usually this is done by setting the maxlength parameter on the input field, as in
<input type="text" name="email" maxlength="35" />
I was wondering if there was a way to implement this from the SC IDE?
Since SC gens the code, I am not sure you could do this in the IDE, except to put a value/variable in the placeholder for the size value then use JS to find the DOM element and make the changes in code to the document itself.
You would have to use firebug to get the element info.