Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 10th, 2025, 2:50 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Blanking the text input field
PostPosted: April 5th, 2009, 12:44 pm 
Offline

Joined: March 24th, 2005, 5:39 pm
Posts: 14
I'm working with a very simple text input program, where I test an input to the correct answer variable when I press Enter, and display WRONG when the answer is wrong. This works fine. BUT, I want to have the wrong text in the input field automatically deleted og wiped out for a new try. I can't find a way to do that. Could anyone help?

I'm using Opus Pro 6.4.


Top
 Profile  
 
 Post subject:
PostPosted: April 5th, 2009, 8:28 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Assuming you are doing your test condition over in Triggers and Actions, simply add an Action in same sequence where you have placed the 'display WRONG'. To do this choose the Programming tab and then choose set variable = "" i.e., two quote marks.

Of course that variable will be the same one you have mated to the Text Input object.

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject: This works fine!!
PostPosted: April 5th, 2009, 10:40 pm 
Offline

Joined: March 24th, 2005, 5:39 pm
Posts: 14
Thank you once again. This is simple, but difficult if one don't know. :?
I'll be back soon with more simple questions.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 75 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group