
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
How to script if no of pages to be filled will change based on the country selected from dropdown
Hi,
In my current scenario, the no of pages to be filled is changing depending on the country selected
If my selected country is United States,I have to fill 5 pages
If my selected country is United Kingdom I have to fill 6 pages
in this scenario
I recorded using United States(5 pages)
I correlated country name and selected Random value because different vusers should select different countries in real time
If any vuser will select United Kingdom,he have to fill six pages and the pages are also changed based on the Country,
How to write script
Any help is appreciated

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello!
In this case i would creae two different scripts.
Or you can combine the two flows in one script (two separate action blocks) and skip one of each depending on the selected parameter value.
Kind regards
Thomas

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
can I keep a if loop depending on the parameter value selected and select different blocks related to parameter value?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello!
Yes, of course.
You can enclose the code in each action block in an IF and skip or execute depending on the parameter value.
Regards
Thomas

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Thank you very much
Cheers
Bharath

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
If you recognize the problem is properly solved, would you please mark the post as solved accordingly?
Thanks,
Tedy