Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Getting the name of the field the user has clicked


This topic is 5262 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

A field has a button applied to it. The first thing I want the button to do when the user clicks it is to record the name of the field. How can I do this?

[color:red]Get ( ActiveFieldName ) or [color:red]Evaluate ( Get ( ActiveFieldName ) ) fail to return any value for me.

The field is set to allow entry in browse mode.

Many thanks in advance.

Posted

Thanks for the explanation. Very helpful. But using the scriptparameter doesn't seem to do the trick. I still can't get anything from Get ( ActiveFieldName ).

I have hundreds of these buttons to create, and need a method that doesn't require me to hard code the field names!

Posted

You can't get anything from Get ( ActiveFieldName ) because no field is active. Setting a field as a button prevents user from entering the field.

I have hundreds of these buttons to create, and need a method that doesn't require me to hard code the field names!

Perhaps you could use an OnObjectEnter script trigger. But if you need "hundreds of buttons" you probably should re-examine your entire approach.

This topic is 5262 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.