E- mail validation with password ? How ?

purush84

Client
Регистрация
07.11.2011
Сообщения
259
Благодарностей
38
Баллы
0
I am creating template for .edu sites. The mail verification process is like copying the password from the received mail and paste it in the login page. The admin provides a different password, but i am not able to get that password execution result to the next step.

Provide me the solution to solve this problem out!!

Thanks!!
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
You should take execution result of email processing step (with password) and use this in the next step.
You should do on the template editor tab.
 
  • Спасибо
Реакции: purush84

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
You have to use a regular expression to get the password out of the email. Usually on sites like this it is...(?<=password: ).*

Then take the result of that email processing step and use it as the value for the password field in the login page.
 
  • Спасибо
Реакции: pink и purush84

purush84

Client
Регистрация
07.11.2011
Сообщения
259
Благодарностей
38
Баллы
0
Hello bigcajones
I tried with (?<=password: )* expression, when i test the regular expression i did not get any result parsed .
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
i see you are having problems with this...
contact me on skype id: dejan.jugovic1

i will try to help you
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
In my regex there is a space after password: and before the value. May be on the sites you are working on there is no space. In the regex builder, highlight and copy everything before the password and paste it into the field 'this appears before required text' and the regex builder will create the regex you need.

I just showed you an example of emails from Drupal.
 

purush84

Client
Регистрация
07.11.2011
Сообщения
259
Благодарностей
38
Баллы
0
Hey bigcajones.,
78.png
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
sorry
 

Вложения

Последнее редактирование:

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)