Check Text Presence Limitation. How to?

crisdebourg

Client
Регистрация
14.02.2011
Сообщения
53
Благодарностей
3
Баллы
0
checktext.png
How can I make zennoposter check for text presence ONLY in specific fields, namely - Title, Description. I set up the "check text presence" for each of the two fields separately but when running the template it pulls all text found on the extended pop-up window, namely "Title (required)" "bla bla bla" "description" "description bla bla bla".

Already I'm using the "prepare for javascript" macros and works well with individual snippets of text on other parts of this platform (Digg.com) but the issue signaled above I can't seem to find an answer to. Any suggestions?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Have you tried using a regular expression in the field for selected text presence?
 

crisdebourg

Client
Регистрация
14.02.2011
Сообщения
53
Благодарностей
3
Баллы
0
The thing is the text is always changing. Are there any generic regexp for detecting text in a given field?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
You should try when recording your template, opening up the page text and sending it to the regular expression builder. Then see if there any tags for the fields you are looking at. Then you could just put .* between the <div> fields or whatever you have there. I take a look later and see if I can figure it out. Are you searching for the text you put into the digg?
 

crisdebourg

Client
Регистрация
14.02.2011
Сообщения
53
Благодарностей
3
Баллы
0
In the mean time I did the following: ran the Branch builder -> Get value. Then, did a logic step with the value pulled from the previous step (value!=''). Worked like a charm. Thanks for the view point, bigcajones. Will definitely bookmark the thread and add it to my knowledge base. Thank you! :-)
 

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