form.elements()[0].attributes['_id'] and form.attributes['_id'] get/set the same value.
2010/12/13 Bruno Rocha <[email protected]> > You can try this: > > {{loginform.attributes['_id'] = 'someidhere'}} > {{=loginform}} > > > > 2010/12/13 pk <[email protected]> > > can nobody help me? >> >> On 12 Dez., 23:44, pk <[email protected]> wrote: >> > hi, >> > i hope somebody of you can help me very fast. >> > >> > how can i set the form-ID for the form (loginform) >> > >> > if i post the code {{=loginform}} >> > i get this code automaticly: >> > >> > <div id="contenttext"> >> > <p><form action="" enctype="multipart/form-data" >> > method="post"><table><tr id="auth_user_email__row"><td >> > class="w2p_fl"><label for="auth_user_email" >> > id="auth_user_email__label">E-Mail: </label></td><td >> > class="w2p_fw"><input class="string" id="auth_user_email" name="email" >> > type="text" value="" /></td><td class="w2p_fc"></td></tr><tr >> > id="auth_user_password__row"><td class="w2p_fl"><label >> > for="auth_user_password" id="auth_user_password__label">Passwort: </ >> > label></td><td class="w2p_fw"><input class="password" >> > id="auth_user_password" name="password" type="password" value="" /></ >> > td><td class="w2p_fc"></td></tr><tr >> > id="auth_user_remember__row"><td><label> </label></ >> > td><td><div><input class="checkbox" id="auth_user_remember" >> > name="remember" type="checkbox" value="on" /><label >> > for="auth_user_remember">Angemeldet bleiben</label></div></td><td></ >> > td></tr><tr id="submit_record__row"><td class="w2p_fl"></td><td >> > class="w2p_fw"><input type="submit" value="Auf geht`s" /></td><td >> > class="w2p_fc"></td></tr></table><div class="hidden"><input >> > name="_next" type="hidden" value="/NETAVATAR/default/index" /><input >> > name="_formkey" type="hidden" >> > value="eeac5cfc-4eb8-4532-90b7-546bbf558f9e" /><input name="_formname" >> > type="hidden" value="login" /></div></form></p> >> > >> > <p><a href="/NETAVATAR/default/user/request_reset_password">Passwort >> > vergessen?</a> >> > </div> >> > > > > -- > > Bruno Rocha > http://about.me/rochacbruno/bio > -- Bruno Rocha http://about.me/rochacbruno/bio

