Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7081915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:58:50+00:00 2026-05-28T06:58:50+00:00

i have a lotus application and have a page which has two links on

  • 0

i have a lotus application and have a page which has two links on it:

  1. Check-In
  2. Check-Out

both links open a attendance form for daily check-in and check-out..

once the user checks-in i want to hide the check-in link and only show up check-out link…

i have a field “Status” in attendance form which tells whether employee has checked in or checked out.
How do i use that field in page hide-when formula to hide my link once its clicked?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:58:51+00:00Added an answer on May 28, 2026 at 6:58 am

    First of all, the links must be in separate paragraphs so they can be separately controlled.

    Secondly, you must have a view in which the first column is sorted and contains the username followed by the date from the fields in your daily attendance documents. E.g., it should be in a format like “Joe User/Org-01-01-12”. The second column in the view should have the Status from the documents. For the sake of this answer, let’s call that view “DailyAttendance”.

    Thirdly, you have three cases: the attendance document for the user on this day doesn’t exist, it does exist and the Status is “Checked In”, or it does exist and the status is “Checked Out”. There might be a fourth case, where the document exists but the Status is neither “Checked In” nor “Checked Out”, but your logic should probably try to avoid that and in any case I’m going to write the hide-when formulas so that both links will be hidden in that case.

    Now, in most cases it’s actually a little easier to think in terms of See-When instead of Hide-When so I’m going to re-state your requirements as See-Whens. Your See-WHen rules are:

    1. See the Check-In hotspot when the daily attendance document for the current user and current day does not exist.
    2. See the Check-Out hotspot when the daily attendance document exists for the current user and current day, and the Status field in the document is “Checked In”.

    To use see-when logic in a hide-when formula, you simply be write your formula based on see-when rules, and then put a logical not around it for the final result.

    Your hide-when for the paragraph containing the “Check-In” hotspot will look like this:

    key := @Name([CN];@Username) + "-" + @Text(@Today);
    status := @DbLookup("Notes":"NoCache";"":"";"DailyAttendance";key;2);
    notFound := @IsError(status);
    seeWhen = notFound;
    !(seeWHen);
    

    Most expert Notes programmers would condense that into a shorter formula. I’ve left it in a step-by-step format to make it as obvious as possible.

    Your hide-when for the the paragraph containing the “Check-Out” hotspot will look like this:

    key := @Name([CN];@Username) + "-" + @Text(@Today);
    status := @DbLookup("Notes":"NoCache";"":"";"DailyAttendance";key;2);
    found := !(@IsError(status));
    seeWhen = found & (status = "Checked In");
    !(seeWhen)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an intranet web application which uses iframes. The outer web-page has a
I have a web application written in Django that has one specific page I'd
I have written a Ruby application which parses lots of data from sources in
I currently have a 32-bit .Net application (on x86 Windows) which require lots of
I have a web application which is used by lots of non-technical users. I
I have a data class in my application which maintains a collection of byte
I have a common HTML non-xpages form(part of non-xpages application) and I need to
I have a web form we use in Lotus Notes, it is an ASP
I have a C# Forms tab application. Each TabPage has a menu on the
I'd like to open a new email page, in Lotus Notes (I know I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.