Hi Garrett, I looked into the Fake code, and I am intentionally setting the value attribute to "checked" in this case.
At the time I created Fake, I remember trying several different combinations of values for the "value" and "checked" attributes, and not all of the combinations worked. The ones I went with did work (although WebKit may have changed since that time).
Looks like this is not causing any issues in the browser. Also I re-read the HTML5 spec and It doesn't seem to say specifically what the "value" attribute should be set to in this case.
So for now, I would say treat this as expected behavior.
TD
On Tue, Oct 16, 2012 at 3:18 PM, Garrett Hart
<gar...@thirdshift.com> wrote:
I have a checkbox that starts out unchecked with a value of "on":
<input type="checkbox" name="event.emailRequired" value="on">
I am trying to check the checkbox with Fake. If I use:
Set Value of HTML Element
with name = event.emailRequired
to checked
the checkbox gets changed to:
<input type="checkbox" name="event.emailRequired" value="checked" checked="checked">
How do I check a checkbox in Fake without without changing its value to "checked"?
Thank you for your time.