using images for choices

Posted on 2003-03-05
Medium Priority
Last Modified: 2013-12-18
I am still learning notes and I have a feeling this is quite easy, but can't figure it out...
I am creating a status report form of such and want the user to be able to click on the status of his work: green, yellow, or red.
Ideally, I would like to use a radio button but would like the choices represented by a green dot, yellow dot, and red dot.  
Another idea if the radio button doesn't work: have a green button, red button, and yellow button, and when one of those buttons is "clicked" it fields in the corresponding text ("Green", "yellow" or "red) into a text field, perhaps the text can then even be displayed in the correct color - green for "green", etc.

Also, in the view, I would like the status field to be displayed as an image as well (green dot, red dot, or yellow dot, and not just text).
I am not sure how to code this though.
Question by:lauren4110
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

AndrewJayPollack earned 100 total points
ID: 8073120
THis is fairly easy in Notes 6, harder but possible in version 5.  On the web, anything is possible, but everything is painful.

Which are you writing for?
LVL 31

Assisted Solution

qwaletee earned 100 total points
ID: 8086599
Create GIF files for the thre color dots you want the user to be able to click.

Copy the first to the clipboard.  (You can also create image resources in Notes, but we'll keep it simple here.)

Open your form in the designer.  Postition cursor where you want dot.  press space, then paste, then two more spaces.

Copy second dot to clipboard.

Paste into form, then two spaces.

Copy third, paste int form, single space.

Select the first dot, plus the space bfeore it and one space after it,

Create -> Hotspot -> Action hotspot.

Code for the action gotspot might be something like FIELD Status := "......value.......";

Select second dot, plus a space on each sode.  create another hotspot, similar formula.  Repeat for last dot.

For the view, create a column.  On the first tab of the column proprties, tick the box, "Display values as icons"

Use a formula something like:

@If(value = "yellow"; 120; value = "red"; 115; value = "green"; 114; 64)

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question