ok, here's a snippet of my HTML:

<p>
        <label for="txtName">Name: <span class="requiredField">*</span></
label> <br />
        <input type="text" id="txtName" name="txtName" />
</p>

I adapted the Remember The Milk example code to validate my fields.
For the above field the resulting markup becomes:

<p>
        <label for="txtName">Name: <span class="requiredField">*</span></
label> <br />
        <input type="text" id="txtName" name="txtName" />
        <label class="error" for="txtName" generated="true">Please enter your
name</label>
</p>

i.e. two labels associated with one field. I want the generated
<label> (i.e. the second <label>) to be a <span> instead. One of the
plugin examples seems to do what I want (example.html) but when I
tried to use the code in my own page, it continued to output <label>
instead of <span> tags. I'd prefer not to fork the core code.

Reply via email to