Button click event to clear a textbox

Sorry if this sounds too simple! I am trying to clear text on a textbox when user clicks on a button. I understand Kinetic is a no code environment so I guess there is a different way of doing simple UI stuff?

1 Like

Yeah, you’d have to setup an onclick event that’d clear the field. Is your field bound to a dataview?

No it is not bound. It is a filter field where user can search.
Is there a way to just clear a controls text value on UI?

For search fields I use a dataview and have a button to clear the dataview fields.

2 Likes

Agree with @Randy - bind it to something…

So how on earth are you filtering with this box if the box is not bound?

1 Like

For example we have a drop down combo with hard coded yes and no values. I created an EpiBinding field so it is accessible like TransView.UserResponse. Then I use that in the dataview query filters.

So if I want to clear the drop down or text box, how do I do it once user clicks on a button “Clear Filter”?

How does that button clear the dataview fields? How do you make the click event do the field clearing without coding?

Event: row-delete

2 Likes

Thank you Randy!

1 Like