Need to have a new component for inputting text in to a popup

bambinou

Client
Регистрация
22.08.2011
Сообщения
442
Благодарностей
21
Баллы
18
Hello
When a captcha is required, a little popup shows up where we input the text. I think it would be nice to have the exact same logic but on presence of another text. So a popup shows up asking to enter some data into a field (with a field label and a close window button). At the moment it looks like the only way to do this is to hard code it.

Thank you.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 453
Благодарностей
5 913
Баллы
113
Here is check text presence option.
Check presence_1.pngCheck Presence2.png
 

bambinou

Client
Регистрация
22.08.2011
Сообщения
442
Благодарностей
21
Баллы
18
Thank you for the reply.
I could not get any other way that having this setup:

C#:
System.Windows.Forms.Form F = new System.Windows.Forms.Form();

System.Windows.Forms.TextBox mobileCode = new System.Windows.Forms.TextBox();
mobileCode.Location = new System.Drawing.Point(50,50);
mobileCode.Width=200;
F.Controls.Add(mobileCode);

F.ShowDialog();

project.Variables["Mobile_sms"].Value = mobileCode.Text;

return mobileCode.Text;
With the presence text as you showed me, there is no popup asking to input a word.
The above works but I need to work out how to add a "Close popup" button.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 453
Благодарностей
5 913
Баллы
113

bambinou

Client
Регистрация
22.08.2011
Сообщения
442
Благодарностей
21
Баллы
18
Not sure I understand you but on text presence no dialog with an input field shows up on my copy
 

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