Loop Question

  • Автор темы Автор темы bambinou
  • Дата начала Дата начала

bambinou

Client
Регистрация
22.08.2011
Сообщения
442
Реакции
21
Баллы
18
I checked Wiki but it is it not helping me.

Lets Say I have a form with 3 fileds:

Product_name
quantity
Add to cart
Submit purchase

And would like to repeat this action 10 times, At the moment what I did is this:

SET COUNTER VALUE = 1
IF COUNTER VALUE < 10 (Green arrow to "Block to execute" below)


###########Bloc to execute##############
Product_name
quantity
Add to cart
###########Bloc to execute##############

INCREMENT COUNTER OF + 1(Arrow pointed back to "SET COUNTER VALUE = 1").

But this is not working, the script get stuck at the top first block called "SET COUNTER VALUE = 1".

Could you please explain to me further how it works?I thought it would be very easy but it looks like not.


Thank you,

Ben
 
Did you pick Variable when you set the counter to 1?
d056e7c95ebfe476c39691d79aa1fa2e.png
 
make screenshot of your project for this part.
you need to compare it with wiki screenshots.
you dont need to return to Set value action never again after loop started
 
Thank you for your help,

Here it is:
 
Blank)
 
It seems that you have misled smth.... You have different variables "SetCounter" and "Counter".
Counter.jpg
 
Thank you so much for your great help.
Well spotted by the way the variable error.
It is getting, there, now it is running from the "red" counter < 10 down to the bottom where it says "increase count on 1", the problem is that Green arrow that should send the programm back to the start of the loop is not working. The program stops at the bottom, any idea what I missed there please?

Thank you,

Ben
 
Check variable there too
 
Thanks, also one of the popup needs a pause as the script tries to right to the fields before the popup shows up.

Thanks again!!!

Ben
 

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