-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels need the "For" attribute #141
Comments
What do you mean? If you add the |
Correct me if I am wrong. I did not find anywhere in your documentation This is within the createNewField function Which didn't work, obviously. So what I ended up doing was: $('.ideal-label')[labelCount].setAttribute('for', 'field' + labelCount); Here is the catch. When I make a change after I created the new field I no This is within the editField function
$('#'+document.getElementById('FormBuilder_idType').value).parent().prevAll('label').text();
document.getElementById('FormBuilder_idType').value); Is there an easier way of setting the for attribute for the label while On Mon, May 6, 2013 at 1:57 AM, elclanrs [email protected] wrote:
|
I totally forgot to tell why I had to do this. I am doing this because when $myform.setFieldOptions( 'username', { filters: 'username' } ) but that didn't do what I thought it would do. On Wed, May 8, 2013 at 11:32 AM, Tim Soliday [email protected] wrote:
|
Is there a plan for labels to have the for attribute? Need a quick way to associate which label is associated to which element.
The text was updated successfully, but these errors were encountered: