Hi, I would like to use the Customer Management module to store customer for a product selector, the customer would pass through a number of steps (forms) and would enter his/her contact details on the last page if they would like to be contacted.
On the first step I would like to create the Customer entry in the database and would like to use a date stamp for the user name and password.
Is this possible using webEdition tags or will I need to use PHP?
Thanks,
Michael.
Username and password autofill?
-
- Senior Member
- Beiträge: 160
- Registriert: Mi 4. Feb 2004, 02:39
- Wohnort: London / UK
- Kontaktdaten:
Re: Username and password autofill?
Ah, it's a simple answer...
<we:sessionField type="hidden" name="Username" autofill="true" />
<we:sessionField type="hidden" name="Password" autofill="true" />
Michael.
<we:sessionField type="hidden" name="Username" autofill="true" />
<we:sessionField type="hidden" name="Password" autofill="true" />
Michael.
Re: Username and password autofill?
I `m not sure if I understood it right, but I`ll give it a try.
Don `t think that it will work only with we:tags.
When you autofill Username and Password, I assume these are hidden fields.
So you could do something like:
Edit: Or you do it that way
Don `t think that it will work only with we:tags.
When you autofill Username and Password, I assume these are hidden fields.
So you could do something like:
Code: Alles auswählen
<form>
<input type="hidden" name="s[Username]" value="<?php echo time(); ?>">
<input type="hidden" name="s[Password]" value="<?php echo time(); ?>">
</form>
Gruß Liquid
-
- Senior Member
- Beiträge: 425
- Registriert: Do 1. Jan 1970, 02:00
- Wohnort: Dresden
- Kontaktdaten:
Re: Username and password autofill?
There's a bug in WE 6.0.0.5, where the following template code
produces the following HTML code:
that means the password field becomes a hidden field with the name "s[Username]".
You have to edit the WebEdition source code to fix the bug. It's located at /webEdition/we/include/we_tags/we_tag_sessionField.inc.php in line 43.
Please change
to
Hope that helps.
Regards,
Alex
Code: Alles auswählen
<we:sessionField type="hidden" name="Password" autofill="true" />
Code: Alles auswählen
<input type="hidden" name="s[Username]" value="RANDOM_VALUE">
You have to edit the WebEdition source code to fix the bug. It's located at /webEdition/we/include/we_tags/we_tag_sessionField.inc.php in line 43.
Please change
Code: Alles auswählen
if($name="Username")
Code: Alles auswählen
if($name=="Username")
Regards,
Alex
http://www.xport.de – Internet-Agentur für Hotels
http://www.domainpreisvergleich.de – Domain-Preisvergleich inkl. Verfügbarkeits-Check – ist meine Wunschdomain noch frei, und wo registriere ich sie am günstigsten?
http://www.domainpreisvergleich.de – Domain-Preisvergleich inkl. Verfügbarkeits-Check – ist meine Wunschdomain noch frei, und wo registriere ich sie am günstigsten?
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste