Sign in to follow this  
Followers 0
GodModeKing

multiple answer input box

2 posts in this topic

Ok noob question but i look and couldn't find the answer but how exactly would you make any input box take multiple answers?

Sorry if my English is bad i'm Russian

Share this post


Link to post
Share on other sites



Welcome to the forums! (Just saying.. because you got 4 posts)

Well here's a little example that should help..

Source :

$Input = InputBox ('Multi-Question Inputbox','Here are three questions..' & @CRLF & '#1.) How old are you"?' & @CRLF & '#2.) Whats your name?' & @CRLF & '#3.) Whats your favorite color?' & @CRLF & @CRLF & 'Answer in this format : ' & @CRLF & 'Answer #1,Answer #2,Answer #3' & @CRLF & 'Example : 14,John,Red','','','','215')
If @Error Then Exit 
$Input = StringSplit ($Input, ',')
If $Input['0'] < '2' Then Exit MsgBox ('0','Error','Anwsers not submitted in the correct format, please try again.','0')
$Age = $Input['1']
$Name = $Input['2']
$Color = $Input['3']
MsgBox ('0', $Name & "'s Information",'Age : ' & $Age & @CRLF & 'Name : ' & $Name & @CRLF & 'Color : ' & $Color, '0')

Hope it helps! :)

- John


Latest Projects :- New & Improved TCP Chat

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0