Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check or uncheck a checkbox in an agent.

Status
Not open for further replies.

rphbrew

Technical User
Nov 30, 2002
40
US
I want to be able to modify a checkbox through an agent. Either check it off or if it is already checked off, uncheck it.

How do I do this?

thanks in advance for anyhelp.
 
Your question is confusing. You talk about a checkbox, so that means user interface. So far so good, but why modify the checks if the user is editing it ?
Unless you mean modifying the choices made in a document that is saved, in that case you're just modifying a field value.
Or, you want to modify the values in a checkbox displayed on a browser.
So could you please specify ? Is the document open or not ? Is it via browser or Notes client ? Is the agent calling the checkbox or modifying a checkbox made by another process ?
 
Let me try to clarify:

I have a form that has a checkbox on it. You can check it off on leave it unchecked.

The box is used to notify another group that a change needs to be made.

I can do each document individually but I would like to be able to check off multiple documents at once.

How can I do this????

 
Sorry, but you still aren't making much sense!

What exactly do you want to accomplish? You want to select multiple documents and check the box in those documents with out opening each one? How do you know which documents to update? How is the agent suppose to know which documents to update?

Please provide some SPECIFICS about what you are doing, how you need to accomplish it and what you expect the end result to be.



Leslie
landrews@metrocourt.state.nm.us

There are 10 types of people in the world -
those who understand binary
and
those who don't!
 
Just create an agent the runs on selected documents in a view. Use the following line in the formula:

FIELD fieldname := "value"

With a checkbox the value is either "" or the value in the choice list in the properties of the field. If you put the word Update in the choice box and make the default value "" you would use the following:

FIELD fieldname := "Update"

This would change the value of the field from "" to "Update" for all the document you select in the view when the agent is run.

Hope this helps
 
Thanks it works like a charm. I was using a blank field to change uncheck the box.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top