Dynamic Text Fields

xboredx

Client
Регистрация
26.12.2011
Сообщения
18
Благодарностей
0
Баллы
0
I am wondering how to get past dynamic text fields? It seems as if the application relies on searching for the name attribute of the field, or is there another way to get past this?

So for example lets say I have a form and each time I refresh the browser the user name field changes.

refresh 1.
name=ewrfd

refresh 2.
name=05494

refresh 3.
name=of894

and on and on.

Ideas???
 

step85

Client
Регистрация
19.02.2010
Сообщения
1 839
Благодарностей
287
Баллы
83

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
other option could be to use regex for it...

like this for example: name=.*

As long as there is allways name= infront changing part, this will work ;-)
 

joma

Client
Регистрация
06.03.2011
Сообщения
107
Благодарностей
13
Баллы
0
Using the width property also work wonders :-)
 
Регистрация
01.02.2011
Сообщения
99
Благодарностей
15
Баллы
0
like this for example: name=.*

As long as there is allways name= infront changing part, this will work ;-)
name=.* is a really bad idea if your after a high success template. If you had made a few universal templates you would know lots of platforms use "name=" for multiple fields, thats the purpose of using the tag "name".

Steps85 suggestion is best practice, just look for the stuff either side of the form in the DOM that doesn't change site-to-site to regex
 

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