Select from dropdown list.

ohcysp

Client
Регистрация
21.02.2012
Сообщения
28
Благодарностей
0
Баллы
1
Basically I want ZP to choose an option from a dropdown list. Through the "actions designer" I am able to choose an option with attribute "selecteditems" but the problem is that the value should be exactly the same as it is in the list which includes whitespaces and etc. Is it possible to set a value excluding the extra whitespaces of the option? What should I enter?
The option is somethink like that:
Код:
<option value="1">
					  					  					  &nbsp;&nbsp;&nbsp;
					  Category
					  &nbsp;&nbsp;&nbsp;
					  			  </option>
Is there a way to exclude these spaces and to choose the category?
 

ohcysp

Client
Регистрация
21.02.2012
Сообщения
28
Благодарностей
0
Баллы
1
So I found a way to get all categories with this regular expression - (?<=\<option value \= \"\d+\" \>)[\w\W]*?(?=\<\/option\>) but it returns all categories. What to add to this reg exp that the text should contain Category?
 

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