June 28, 201015 yr 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.
June 28, 201015 yr If the field is a button, it does not become active by clicking on it. You can use the script parameter, though.
June 28, 201015 yr Author 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!
June 28, 201015 yr Make your field a "button" by using an OnObjectEnter script trigger. Get(ActiveFieldName) will work then.
June 28, 201015 yr 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.
June 28, 201015 yr Author Brill!!! And you can apply this to many fields at the same time, unlike buttons I think.
Create an account or sign in to comment