FAQ
Products Showcase Download Extras Support
 
Home :: Support :: Community :: CourseLab Issues

Text Input Issue

Text Input Issue 
Author:  Amer Abdeen    
Date: 07.07.2010 12:48:47
Hi,

I am using a text input field so that if the user enters a certain value then a green popup box should appear. Otherwise, a red popup box should appear.

However, CourseLab considers blank/null entries, i.e. only cliking inside the text input field, as a trigger for the red popup box.

I don't want this to happen, actually.

For your convenience, here's my script:

On Leave Field
IF(Condition='$OBJ_23.value=="you"')
DISPLAY(Object='correct',Display='Show',Effect='Object',Duration='0')
IF(Condition='$OBJ_23.value!="you"')
DISPLAY(Object='incorrect',Display='Show',Effect='Object',Duration='0')

Note: OBJ_23 is the text input field
"correct" is the green popup box
"incorrect" is the red popup box

Thank you.  
...
Re: (1) Text Input Issue 
Author:  barend    
Date: 07.07.2010 22:16:06
Just a wild guess:
What happens if you change the second 'if' to:
IF(Condition='$OBJ_23.value!="you"')
(space)IF(Condition='$OBJ_23.value>""')

I mean: if the input field is 'greater than nothing'

??  
...
Re: (2) (1) Text Input Issue 
Author:  juan    
Date: 08.07.2010 01:21:19
I can help to authenticate a user input password and enter key move to the next "hidden input" after entering the username in the "text input"

 
...
Re: (2) (1) Text Input Issue 
Author:  juan    
Date: 08.07.2010 01:28:51
I can help to authenticate a user input password and enter key move to the next "hidden input" after entering the username in the "text input"

 
...
Re: (2) (1) Text Input Issue 
Author:  Amer Abdeen    
Date: 10.07.2010 12:00:18
Nothing.

I still have the same problem.  
...
Re: (2) (2) (1) Text Input Issue 
Author:  barend    
Date: 10.07.2010 20:34:30
Then maybe try
IF(Condition='$OBJ_23.value==""')
MSGBOX(Text='Please enter your answer');
 
...
Re: (2) (2) (2) (1) Text Input Issue 
Author:  Amer Abdeen    
Date: 11.07.2010 13:19:28
Now i am getting two messages:

1. the red popup box
2. the "please enter your answer" msgbox

 
...
Re: (2) (2) (2) (2) (1) Text Input Issue 
Author:  Amer Abdeen    
Date: 11.07.2010 13:41:44
Now I did it...

On Leave Field
IF(Condition='$OBJ_23.value=="you"')
DISPLAY(Object='correct',Display='Show',Effect='Object',Duration='0')
IF(Condition='$OBJ_23.value!="you"&&$OBJ_23.value!=""
DISPLAY(Object='incorrect',Display='Show',Effect='Object',Duration='0')

Thank you all  
...
Re: (2) (2) (2) (2) (2) (1) Text Input Issue 
Author:  juan    
Date: 14.07.2010 19:20:09
to validate that only you can advance through each text input, press ENTER or TAB, but with an advanced order

thanks  
...
Re: (2) (2) (2) (2) (2) (1) Text Input Issue 
Author:  juan    
Date: 14.07.2010 20:00:48
to validate that only you can advance through each text input, press ENTER or TAB, but with an advanced order

thanks  
...
Re: (2) (2) (2) (2) (2) (1) Text Input Issue 
Author:  juan    
Date: 14.07.2010 20:13:53
to validate that only you can advance through each text input, press ENTER or TAB, but with an advanced order

thanks  
...
Re: (2) (2) (2) (2) (2) (1) Text Input Issue 
Author:  juan    
Date: 14.07.2010 20:20:02
to validate that only you can advance through each text input, press ENTER or TAB, but with an advanced order

thanks  
...
Re: (2) (2) (2) (2) (2) (1) Text Input Issue 
Author:  juan    
Date: 14.07.2010 20:22:32
to validate that only you can advance through each text input, press ENTER or TAB, but with an advanced order

thanks  
...
Re: (2) (2) (2) (2) (2) (1) Text Input Issue 
Author:  juan    
Date: 14.07.2010 20:28:24
to validate that only you can advance through each text input, press ENTER or TAB, but with an advanced order

thanks  
...
Re: (2) (2) (2) (2) (2) (1) Text Input Issue 
Author:  juan    
Date: 14.07.2010 20:28:37
to validate that only you can advance through each text input, press ENTER or TAB, but with an advanced order

thanks  
...

Reply

You can also post this message as registered user. [Log in]
Author:
E-mail:
Subject:
Options:  Notify me if there is a new reply
Message emoticon:
Message body:
Insert smilie into text:
 
Jump to thread: