[SOLVED] Issues with profile

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
When I run a template & account registration was unsuccessful, on the next try ZP keeps using the same profile details (name, age, date of birth, etc). Is it possible to randomize this on the next attempt?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
If you use internal loop it's logical that data stays the same.
Finish template's execution if its failed and new attempt will use new data.
 

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
Well the template isn't a loop. What's happening is that after hitting the submit button during account creation, I either get a blank page or it carries on with the template until the end. When the blank screen is shown, this causes ZP to loop back by itself and then it uses the same profile during the last try.

The solution would be to check for the blank page, and if found, to terminate the process. Btw what's the best way to check for a blank page? Could I use this in IF?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
Make check of text's presence on the page after submit.
If not found = finish project.
 
  • Спасибо
Реакции: shabbysquire

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
:rolleyes: I should've thought of that! Doh!

Thanks anyway for the help. Issue resolved.
 

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