как с этим бороться?

doyou1425

Пользователь
Регистрация
23.06.2020
Сообщения
39
Благодарностей
0
Баллы
6
Привет, ребята, у меня проблема и надеюсь, вы можете помочь.

Я сделал скрипт отправки формы, после каждой формы ввода будет небольшая галочка. А кнопку «Отправить» можно нажимать только после появления каждого тика.

Как с этим бороться? потому что галочка может вообще не появиться, или это займет много времени, в этом случае я не могу перейти к следующему шагу.

Мне нужен твой совет, спасибо

Картинка здесь https://imgur.com/6dhKkA3

------------------------------------------------------------------------------------------------------------------------
Hi guys, I got a problem and hope you can help.

I made a form submit script, there will be a small tick after each input form was filled. And the submit button can only be clicked after each tick appeared.

How to deal with this? because the tick may do not appear at all, or it will take a long time to appear, in that case i can not go to next step.

I need your advice, Thanks


Picture here: https://imgur.com/6dhKkA3
 

doyou1425

Пользователь
Регистрация
23.06.2020
Сообщения
39
Благодарностей
0
Баллы
6
может быть, вопрос должен быть: как позволить курсору мыши выйти из поля ввода? как вызвать событие onblur? Я пробовал несколько способов, но все не удалось.
-----------------------------------------------
maybe the question should be: how to let the mouse cursor move out of the input field? how to trigger the onblur event? I tried several ways but all failed.
 

VladZen

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

doyou1425

Пользователь
Регистрация
23.06.2020
Сообщения
39
Благодарностей
0
Баллы
6
You should check value of element attributes using actions designer - https://zennolab.com/wiki/en:action_constructor
When checkbox is set, related attribute in html element should be changed to "true" for example.
Hi thanks for your reply, you may misunderstand me.

I want to know that how to let the cursor move out of the input field after I filled it.

for example, I filled the first name input field with "Jak", but the cursor was still in that text filed, the verification only occurs after the mouse cursor move out of the text field. I want to know how to move the mouse cursor out.

https://ibb.co/kML190f
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 300
Благодарностей
5 861
Баллы
113
Hi thanks for your reply, you may misunderstand me.

I want to know that how to let the cursor move out of the input field after I filled it.

for example, I filled the first name input field with "Jak", but the cursor was still in that text filed, the verification only occurs after the mouse cursor move out of the text field. I want to know how to move the mouse cursor out.

https://ibb.co/kML190f
Just focus on another element on page - Rise>Focus action in Action Designer.
 

doyou1425

Пользователь
Регистрация
23.06.2020
Сообщения
39
Благодарностей
0
Баллы
6
Just focus on another element on page - Rise>Focus action in Action Designer.
Thanks so much, it works

By the way, is it possible to know when all the text field verification finished? Or is it possible to know when the submit button is clickable?

Currently I set a 30s pause to wait, but you know the verification time is different in each case,. so this method is not very smart.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 300
Благодарностей
5 861
Баллы
113
Thanks so much, it works

By the way, is it possible to know when all the text field verification finished? Or is it possible to know when the submit button is clickable?

Currently I set a 30s pause to wait, but you know the verification time is different in each case,. so this method is not very smart.
Check attributes of Submit button with Inspect element. There should be some parameter related to if button is active or not active.
With Action Designer you can get value of this attribute ( action Get) and compare it in IF logic if the buttin is active - https://zennolab.com/wiki/en:logic#if
 

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