How to check text presence?

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
This question is regards the checking of text presence.

When I input a value (i.e. username) during account creation, how do I check if username is already taken? When a unique username is inputted, then the message 'Available' shows. I'm able to grab the unique OuterText in Get Value ok, but need to establish if all is ok to carry on.

Because in html source code, both 'Available' & 'Not available' is present. If the message 'Available' is shown, I need to proceed with the template.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Try to parse {-Page.Text-} instead of {-Page.Source-}
 
  • Спасибо
Реакции: shabbysquire

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
As ever, thanks! Issue resolved.
 

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