Advanced Search
Username
Password
Forgot password?
 

Top Forum Posts
Welcome to the Catalyze Forums

The Forums on Catalyze give members an opportunity to network with other members and ask/answer questions on current topics.

Want to post?

You must be a registered member of the Catalyze community to post;

Click here to JOIN TODAY  If you are already a member, SIGN IN HERE

 
Subject: Forms & User entry widgets
 Add Tag
You are not authorized to post a reply.  
Author Messages
Rating:
taryn_dsouza
Posts:1

10/16/2008 5:25 AM Alert 

Hi,

I would like to create an on focus event for all the user entry widgets of a form.

I would like the form field background color to change when the form field is on focus & I would like to color to go back to the previous version when the field is not in focus.

I tried doing this using Actions> Edit property > Background color

I would like the toggle effect so the focus and background color go back to normal once there is no focus. Also is there a way to do this in 1 short rather than select each form fields separately.

Thanks.

TD

 

pindelicato
Posts:10

11/10/2008 4:59 PM Alert 
Hi Taryn,

You are headed in the right direction. I would create another page action that sets the background color back to white (or whatever the non-focus background color is) and then hook the "on focus loss" trigger to that action.

Unfortunately, you have to create this pair of actions for each input, but in future releases you will be able to targe a widget using functions like "this widget" instead of targeting a specific widget. Then you would be able to create one pair of these actions for the whole form.

We also hope to add a "during focus" trigger that is kind of a macro for on focus and on focus lost. It would automatically revert when focus is lost, so you would only need one action for your whole form.

Thanks,

Pete