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

  • Home
  • SEARCH
  • 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 3934958
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:46:31+00:00 2026-05-19T23:46:31+00:00

I have an OnBase e-Form that I’m building. There are three buttons on the

  • 0

I have an OnBase e-Form that I’m building. There are three buttons on the form that all submit. OnBase does different things based on the name of the button used to submit the form. If the button has a name of OBBtn_CrossReference it opens another window with a cross referenced document. I need to programmatically ‘click’ that button.

I’ve read several posts about how to use JavaScript to submit a form, but none seem to accomplish my goal. I just need to POST and to have it appear to come from a button named OBBtn_CrossReference.

I don’t need to submit any data. The way the page is currently set up, the entire page is already a form and since I don’t want to break the functionality of the other form buttons it seems I must leave it that way.

UPDATE:
The suggestion below was tested as a call from the onload event in the body tag and since the button posts the page reloads and the call is made over and over again spawning unlimited child windows. I would appreciate a suggestion on how to get the button to only be clicked the first time the page is loaded and not on postback.

  • 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-19T23:46:31+00:00Added an answer on May 19, 2026 at 11:46 pm

    I know I am a little late to this post, but you can try and leverage a cookie to get this done:

    if (document.cookie.indexOf('xref=true', 0) < 0) {
    
        // Set the xRef cookie, so we do not fire it again for this form.
        document.cookie = 'xref=true';
    
        //alert(document.cookie);
        document.getElementById("OBBtn_CrossReference").click();
    }
    else {
    
        document.cookie = "xref=false";
        //alert(document.cookie);
    }
    

    I tested this on the Thick and Thin clients in 10.0 and it worked fine.

    The postings on this site are my own and don’t necessarily represent my company’s positions, strategies or opinions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have you ever seen any of there error messages? -- SQL Server 2000 Could
Basically I have a structure that used to work perfectly in 3.0.x and now
I have a problem for a university lab; Write a short program that outputs
I might have misunderstood the meaning of base.OnLoad(e); My understanding was that this statement
Have written all the code in a silverlight class library (dll) and linked this
Have a problem that seems easy on paper but i'm having a big problem
I'm working on an Android application. I have an activity that has this method:
Have some dates in my local Oracle 11g database that are in this format:
Have the following scenario. I have a few form, which essentially have a few
I have a module that uses Control.Exception in Base < 4 which is Control.OldException

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.