Hallo,
leider funktioniert diese Javascriptabfrage beim Login (Checkbox) nicht.
Hier erst einmal das Formular:
<we:ifRegisteredUser>
...
<we:else />
<we:form id="1893" onsubmit="checkform(this);">
User Name:<we:sessionField name="Username" type="textinput" />
Password:<we:sessionField name="Password" type="password" />
...
<input type="checkbox" name="conditions">Conditions.
<input type="image" name="submit" SRC="/images_intern/submit.gif">
</we:form>
</we:ifRegisteredUser>
und das Javascript:
function checkform (form)
{
if (document.form.conditions.checked == false) {
alert( "Please read the conditions of use. Thank you." );
document.form.conditions.focus();
return false ;
}
return true ;
}
Muss das "conditions"-Field auch ein sessionfield sein und wie lautet dann die Abfrage?
Vielen Dank schon einmal.
Ibis
Javascript-Abfrage bei Login
Hier können Sie Fragen bezüglich der Kundenverwaltung stellen.
Gehe zu
- Deutschsprachiges Supportforum
- ↳ webEdition Installation & Update
- ↳ webEdition Administrationsoberfläche
- ↳ Basisversion
- ↳ Backup und Serverumzug
- ↳ webEdition Module
- ↳ Banner-/Statistik Modul
- ↳ Benutzerverwaltung
- ↳ DB-/Objektmodul
- ↳ Editor PlugIn
- ↳ Export Modul
- ↳ Import- /Exportfunktionen
- ↳ Kundenverwaltung
- ↳ Navigations Modul
- ↳ Newsletter Modul
- ↳ Scheduler
- ↳ Shop Modul
- ↳ ToDo / Messaging Modul
- ↳ Voting Modul
- ↳ Workflow Modul
- ↳ Weitere Validierungsdienste
- ↳ webEdition Templates erstellen (we:Tags)
- ↳ webEdition Development Center
- ↳ Hooks
- ↳ Patches, Bugs und Contributions
- ↳ SDK
- ↳ Collaborations
- ↳ Web-Technik
- ↳ (X)HTML
- ↳ CSS
- ↳ JavaScript
- ↳ PHP
- ↳ webEdition und Suchmaschinen
- ↳ Off-Topic & Smalltalk
- ↳ webEdition Open Source
- ↳ Contributions
- ↳ Organisation der Community
- ↳ Community-Treffen
- ↳ Vereinsgründung
- ↳ Webseiten
- ↳ webEdition Feature Requests
- ↳ Stellenmarkt (webEdition only!)
- ↳ Anleitungen / Tutorials
- English Support Forum
- ↳ webEdition Basic Version
- ↳ Installation and update
- ↳ Creating templates
- ↳ (X)HTML and CSS
- ↳ JavaScript
- ↳ webEdition Modules
- ↳ Banner Module
- ↳ User Management
- ↳ Newsletter Module
- ↳ Scheduler
- ↳ Shop Module
- ↳ ToDo / Messaging Module
- ↳ Workflow Module
- ↳ Customer Management
- ↳ DB / Object Module
- ↳ webEdition Development Center
- ↳ SDK
- ↳ Patches, Bugs and Contributions
- ↳ Off-Topic & Smalltalk
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 10 Gäste