• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

E9.1 Visual Assist Button Clicked is not firing for date field

jnginma

Member
Hi,

I've tried both a custom field and standard date field (UPMJ) in my custom app.
Clicking on the VA button just brings up the calendar without triggering the event rules.

Is that expected?

Thanks
 

jnginma

Member
I have 2 fields that the user fills in, a data type field, which has dropdown choices to indicate text, numeric, or date, and a value field which user types in the actual value.
When the data type field indicates a date, I want to give the calendar VA to the user, but if the data type field is not a date I want to suppress the VA.
 

Neal Scarr

Active Member
You can use the "Suppress Default Visual Assist Form" system function on the Visual Assist Button Clicked event to stop the default visual assist form being displayed.
 
Discover how to build no-code data integrations and business process automations.

Kim Schmidt

Active Member
Another way might be to have a date field, a numeric field, and a character field overlapping each other on your form. When the user selects a data type, selectively show the object with the correct type and hide the others.
 

jnginma

Member
Neal, that is what I'm trying to do, but my problem is the Visual Assist Button Clicked ER is not triggering.

Kim, hmmm, I never thought about that. I may have to try that if I can't figure out why the ER is not triggering.

Thanks.
 

Neal Scarr

Active Member
Go into the properties of your custom field, select overrides, data dictionary overrides, press the Visual Assist push button in the overrides section and select a visual assist search form (any will do). Once you've done this the visual assist event rule should start triggering.
 

BBritain

VIP Member
I know this is late and you've probably already determined a solution. I once had a data item where I had to override a Visual Assist and then in the Visual Assist Button Clicked ER change the action, otherwise I couldn't get the ER to trigger. It seemed weird to attach a Search form that wasn't going to get used, but was necessary to trigger the ER.

Ben again,
 
Top