Pass through Url

I have a form where the user has an option of clicking submit
which submits the entire form or select a some abcdefg... which
submits the selected alpha and passes through a URL. The problem
now is that I want the user to select a radio button which tells me
the DB they want to search.
How wiould I pass the value of the radion button through url
to know the users seacr option?
I Need to put the value from the javascript in the URL and pass
the Value to the next form
<a href="/admin/Leadsresult.cfm?search=a" onclick="return
checkradio();">A</a>
This my script which I want to submit the value when user
clicks the above
function checkradio()
var check =document.b.criteria.value;
if (check ==1)
document.b.checkoption.value ='Cp';
else
document.b.checkoption.value ='Cb';
document.form.action="sult.cfm";
document.form.submit();*/
}

quote:
Originally posted by:
umuayo
The form fields are not being submitted when you click on the
hyperlinked data.
It only get submitted when you use the Submit button.
Oh, I missed that part. I'm not sure, but I don't think you
can use js to change variables in an anchor tag after the page has
been loaded. Have you considered using two links instead of one?

Similar Messages

  • Parameter passing through url

    Hi,
    I have a search functionality, wherein i am using sql report. There's a search_text field whose value is passed as search criteria to sql report's query. I am facing caching issues here, since when a user moves to another page after searching something and comes back, search_text field still holds the value of previous search. Is there any way to clear this previous search when user navigates away from search page.
    Regards,
    Shweta Tyagi

    You could simplify this by removing the if clause changing the execution condition for running the process to:
    current Page != Expression 1and set the value of expression 1 to your page number (38 for example).
    I'm not sure I would necessarily recommend this as an ongoing solution for clearing cached items, however. What happens if, in a few weeks time, multiple items on other pages start presenting similar problems? You could end up with a slew of potentially unecessary application processes, when (as already indicated by a previous poster) "clear cache" functionality is widely supported within Apex.
    Firstly, I would consider looking at the circumstances under which your users navigate to and from this 'search' page. They must be pressing buttons or links in your app somewhere, therefore I would concentrate 'clear cache' activity in those relevant buttons to either clear the page's cache, or merely to set the value of that item to null.

  • Any way to access params passed in URL  implementing JSR 168 on Oracle Appl

    I'm trying to access the params passed through URL like : http://hostname:7777/portal/page/portal/Wes%20store%20Sample/OnlyOnePortal
    webStoreId=100&Id=10000
    I have create a portlet with jsp implementing JSR 168 on Oracle Application Server 10g
    But unable to access them in either actionProcess() as well as render() using actionRequest and renderRequest as well.
    I wonder will this possible with JSR 168 to access params passed in URL in any way
    Can any body help me do this

    access params passed in URL  implementing JSR 168 on Oracle Application Ser

  • Page 404 Error when passing Session values through URL

    The current application I'm working on is a 'Targeted Email Communications' application. Bascially, employees at the school at which I'm employed can go in and select services to recieve outage notification emails on.
    The problem I'm discussing in this post has to do with our so called 'Notification Summary Screen.' This screen is basically a report region which displays all outage notifications issued by this application. In the left-most column of this report, I have an edit button that when clicked, redirects the user to the 'Create / Update / Send Screen' with the primary key values passed through the URL. When this happens, all other page items query their values based on the NOTIF_ID passed in through the URL. All of this works fine.
    The problem is, on the Notification Summary Screen, I also have a button labeled 'Create a new notification.' This button redirects the user to the same page as before, except now all of the values are NULL because this outage notification has not yet been created. The problem is, when I try and do this - I get a page 404 not found error. I'm pretty sure it's because my application is getting confused because earlier all of the values were passed in through a URL. For the 'Create New' button, I clear the page cache for this page - and it still does nothing. I am at a loss for what to do here because I keep getting the error.
    Here's the code for the URL button found in the report query in the 'Notification Summary Screen' :
    ('<a href='
              || 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.::'
              || 'P2_NOTIF_ID,P2_NOTIF_SEQ,P2_INFO_TYPE:'
              || a.notif_id ||','|| b.notif_seq || ',' || 'Update'
              || '>'
              || '<img src="#APP_IMAGES#EditButton.gif" />'
              || '</a>') as "edit",** NOTE, I took out the double quotes after href and before the closing right karat brackets because for some reason the code in the URL wouldn't display...weird.... **
    The NOTIF_ID value is the primary key identifier for each outage notification. Additionally, the NOTIF_SEQ value is the sequence number for each (because each notification could have multiple updates). The INFO_TYPE value just references whether this is 'Initial', 'Updated', or 'Closing' information.
    Any suggestions would be much appreciated.
    Eric
    Edited by: user11685190 on Nov 6, 2009 1:12 PM
    Edited by: user11685190 on Nov 6, 2009 1:13 PM
    Edited by: user11685190 on Nov 6, 2009 1:14 PM

    Hey you guys,
    Thanks for your responses. I actually just started working for this academic institution, and have to finish a probationary period before I have access to their VPN (5 Months). Therefore, I cannot access my workspace, nor will they allow me to export my application because it's considered their intellectual property. I believe it may be the &DEBUG portion of it.
    Though I cannot state the exact URL the error states, I can tell you that if I go into application builder to the page in question and try and run it before the page that links to it, I get the error. However, when I use the link everything works fine. When I use the 'Create New' button to link to the page with no values passed, I get the error again. I work again on Monday and will have more information then.
    Thanks again!
    Eric

  • Passing DBCS through URL

    I need to pass double byte character such as Japanese as value in the name value pair through URL to another page. Are there a way to encode the double byte characters in the URL , then decode in the following page.
    You help is highly appreciated.
    Helpseeker

    See the Japanese Character Encoding for Internet Messages,
    http://www.faqs.org/rfcs/rfc2237.html
    good luck!

  • Pass value through URL without setting local page item

    Folks,
    I have a table where I have created a dummy column with a hyperlink on it to go to another page in the application which runs a report passing through columns on the table
    As I am doing this several times (for different pages in my application) - Is there a way of passing a variable through a URL to a report without setting a local variable
    i.e.
    Click Here
    Here I am assigning a local variable on Page 25 which is hidden called P25_TEST1
    What I would like to do is pass the value straight to page 25 (which runs the report) without the need to create hidden items on the report pages all the while
    Thanks
    Gareth

    You have a plain HTML page that loads with a url with something like ?field=value
    And you want "value" to show on your page, correct?
    <html>
    <body>
    <script>
    var qsParm = new Array();
    function qs() {
    var query = window.location.search.substring(1);
    var parms = query.split('&');
    for (var i=0; i<parms.length; i++) {
       var pos = parms<i>.indexOf('=');
       if (pos > 0) {
          var key = parms<i>.substring(0,pos);
          var val = parms<i>.substring(pos+1);
          qsParm[key] = val;
    qsParm['field'] = null;
    qs();
    if (qsParm['field'])
         document.write('You selected ' + qsParm['field'] );
    </script> 
    </body>
    </html>
    Call that as test.html?field=Hello
    Here's a nice link that explains it in detail: http://www.eggheadcafe.com/articles/20020107.asp

  • How to pass form value through URL?

    I have a page set up so that pressing the submit on a form will execute a certain page. For certain reasons I also have a URL HREF link that performs a different function. I need to get the value of a radio button group (all with the same name) and pass that value through the URL if it is pressed. So if someone clicks on the second radio button in the list which has a value of 2, I need to somehow set that to a variable to pass through a URL link. Each time the user changes the radio button I need to dynamically change the variable too.
    Is there any way to do this?

    Thanks for the suggestions everyone. Here is what I have so far:
    I have a cfInput that binds to the radio buttons so the value of the cfinput changes dynamically.
    I have a CFDIV that binds to a separate .cfm page that passes the cfinput through as an argument.
    The .cfm is very basic:
    <cfoutput>
        <cfif isdefined("url.InputText") AND url.InputText NEQ "">
            <cfset FeedVar = #url.InputText#>
        <cfelse>
        </cfif>
    </cfoutput>
    This method appears to work and it sets the Feedvar variable to the appropriate value. However on my first page with the cfdiv tag when I try to pass the #FeedVar# variable through a URL it says it is not defined.
    Any clue if I am doing something wrong passing the new variable back?
    Here is the CFINPUT and CFDIV tags:
    <cfinput type="text" name="update_typeURL" bind="{update_type}" bindonload="true" />
    <cfdiv bind="URL:setURlVar.cfm?InputText={update_type}" ID="theDiv" bindonload="true"  />
    Any ideas on how to read the newly set variable?

  • How to pass arraylist through URL ?

    Hi,
    Can we pass arraylist through URL using params.put ?
    If so then how to access each value?..because pageContext.getParameter with return string...
    Any other method can we use ?
    Thanks

    You should store in on the session or transaction depending on the scope.

  • How to pass PARAMETERS to FORMS while calling them through URL

    Hi,
    I am working on integrating EBS with OBIEE as per the doc id 552735.1(metalink2)
    In the Document, Oracle had given an example for genating the URL in OBIEE as follows,
    SELECT
    HEADER_ID,
    fnd_run_function.get_run_function_url(
    CAST(fnd_function.get_function_id('ISC_ORDINF_DETAILS_PMV') AS NUMBER),
    CAST( VALUEOF(NQ_SESSION.OLTP_EBS_RESP_APPL_ID) AS NUMBER),
    CAST( VALUEOF(NQ_SESSION.OLTP_EBS_RESP_ID) AS NUMBER),
    CAST( VALUEOF(NQ_SESSION.OLTP_EBS_SEC_GROUP_ID) AS NUMBER),
    'HeaderId='||HEADER_ID||'&pFunctionName=ISC_ORDINF_DETAILS_PMV&pMode=NO
    &pageFunctionName=ISC_ORDINF_DETAILS_PMV',
    NULL) as ORDER_HEADER_ACTION_LINK_URL
    FROM OE_ORDER_HEADERS_ALL
    But this one navigates to the JSP page of sales orders. Its working fine,
    h3. Problem :_
    If i want to navigate to Oracle forms(say Sales Orders),
    i'm able to navigate, by giving the 1st param as '5522'(Sales order Form ID(ONT_OEXOEORD)) and 5th parameter as NULL.
    The 5th parameter is used to navigate to a particular record.
    But i dono how to pass the parameters to this particular Sales Order Form..!
    (like here they hav passed HEADER_ID in a particular format)
    {I guess, this might not be understood totally with this given data here, but i don want to make this post too big.}
    CAN ANYONE PLEASE TELL ME, HOW TO KNOW THE FORMAT OF THE "PARAMETERS" TO PASS(WHILE GENERATING URL)_WHILE CALLING AN ORACLE FORM.._
    Thanks in Advance..!!

    Hi,
    In addition to the above...
    if i give the 5th parameter as, 'HEADER_ID=||'header_id { in runtime it'll be converted as 'HEADER_ID=5432..}
    I'm not getting any error, getting a fresh Sales order page..!! { The given Header ID is ignored }
    else if i give something like 'HEADER_ID=||'header_id||'&FunctionName=ONT_OEXOEORD...' { lets say }
    its throwing the following errors..
    FRM-47023: No such parameter named G_QUERY_FIND exists in form OEXOEORD.
    FRM-40105: Unable to resolve reference to item PARAMETER.G_QUERY_FIND
    FRM-47023: No such parameter named ORDER_NUMBER exists in form OEXOEORD.
    and then it shows up the Navigator.
    Requirement :_
    How to pass parameter to a form while calling them through URL.
    Thank you,

  • Pass variable values between Applications,but not through URL.

    Greetings,
    My objective is to pass a value from one page in one application to another page in a diferent application.
    I am aware through some posts i ahve read in the forum that it is possible to pass the value through URL,
    however besides being unable to do so i don't want the user to be able to see the value in the url.
    Also it may be a big value and there are URL size limitations as well as not looking pleasant.
    I have considered keeping the value in a database field, but i would like to use this only as a last resort since the value is temporary and when it gets to destination page it will disapear.
    Anyone is aware of a solution for my problem?
    My Homepage
    Best Regards

    Hi Igor,
    I don't know if the APEX_UTIL. [SAVEKEY_NUM|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/api.htm#sthref2583] / SAVEKEY_VC2 functions work across apps, but you could try. The other thing you could try is setting a cookie using the [OWA_COOKIE|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/w_cook.htm] package.
    --Jennifer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Passing parameter through url to report

    Hi
    I'm sorry if this question already exist anywhere in forum i didnt found it.
    so my question is:
    CAN I PASS PARAMETER VIA URL TO REPORT USING WEBFORM
    i don have RAS(Because in beta version of 2008 is this not included)
    I tried
    http://localhost/CRWEB/Default.aspx?param0="value" ->here i'm prompt for value instead of showing report with set value
    and
    http://localhost/CRWEB/DocumentDoc.rpt?param0=krneki&init=html_page -> here i prompt to save rpt file
    so But both doesnt work!
    OR it is necessery to have RAS to pass parameters through url
    thanks for quick answer

    URL reporting and RAS are not available with CR2008. To view reports over the web you will need to use the Crsytal Reports for .NET runtime engine inside a .NET app. This engine is licensed with CR 2008.
    Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/robhorne</a>

  • How to pass mysql query id through url parameter to a detail page

    Hi there,
    I am a newbie to JSP and I am trying to pass a url parameter to a detail page so that it will query a mysql data query to show the details of that query. How can I write the query on the details page so that it will display the query results on the page. eg select * From data Where = "passed_url parameter_ value". Please i need urgent help on this please.

    <Acknowledged>
    which should be strongly cautioned against even for "newbies".
    </Acknowledged>
    Right, but the code you posted will "work" in a very harmful wayNot always, I used normal Statements last year and I had no problems.
    Even with pretty capible code brakers trying to cause $h!t with my application.
    Just check for invalid datatypes, and for SQL Injections remove stuff like ' or replace with `
    But yes PStat... are the better way.

  • Download XML Publisher report through URL

    Hi Gurus,
    I need to download pdf that which is generated using data template(.xml) and Layout template(.rtf) from XML Publisher through URL by passing required parameter.
    Could anyone please help me on this. This is one of our client requirement. Its really very urgent.
    Thanks,
    Vino.

    is it ebs?
    if yes i can not be sure what it is work for ebs
    for ebs related bip you can ask in General EBS Discussion

  • Environment variables not passed through to player in flexunit 4.1.0-beta3

    fyi, to get flexunit-4.1.0-beta3 FlexUnit4AntTasks invocation of flashplayer to not be rejected by the vncserver, i needed to modify the FlexUnitLauncher to pass through the environment variables to the command environment.
    the reason this is required, i think, is the use of Runtime.exec() directly in CustomPlayerCommand -- in flexunit-4.0.0, the same function was accomplished using the ant executor, which does passthrough by default.
    anyway, curious if anyone else has seen this issue, or if i'm doing something dumb.
    --- flexunit/flexunit-4.1.0-beta3/flexunit-flexunit-da29198/FlexUnit4AntTasks/src/org/flexuni t/ant/launcher/FlexUnitLauncher.java    (revision 7250)
    +++ flexunit/flexunit-4.1.0-beta3/flexunit-flexunit-da29198/FlexUnit4AntTasks/src/org/flexuni t/ant/launcher/FlexUnitLauncher.java    (revision 7251)
    @@ -79,7 +82,13 @@
           command.setSwf(swf);
           if (runHeadless())
    -         command.setEnvironment(new String[]{ "DISPLAY=:" + xvncStart.getCurrentDisplay() });
    +         Map<String, String> env = System.getenv();
    +         List<String> envArgs = new ArrayList<String>();
    +         for (Map.Entry<String, String> entry : env.entrySet()) {
    +            envArgs.add(entry.getKey() + "=" + entry.getValue());
    +         }
    +         envArgs.add("DISPLAY=:"+xvncStart.getCurrentDisplay());
    +         command.setEnvironment(envArgs.toArray(new String[0]));
              LoggingUtil.log("Setting DISPLAY=:" + xvncStart.getCurrentDisplay());

    ok. i went looking for a JIRA link somewhere around here and couldn't find it.  do you have a URL handy?
    there are a couple of other things too:
    you probably want trustDirectory.mkdirs() rather than mkdir() in TrustFile.java
    you probably want CustomPlayerCommand.setLocalTrusted() -- my player command isn't in the machine's path, but i still want to be able to touch the trust file.  So I copied the trustFile.add() stuff from FlashPlayerCommand.launch() into CustomPlayerCommand.launch().  probably a better solution would be refactoring CustomPlayerCommand to be more like FlashPlayerCommand.
    anyway, if you want patches, tell me where to put them and i'll post some.

  • Pass through authentication (function_)

    I wrote many functions before, but NEVER a function to pass through authentication
    Here are some of the specs
    In this example, an institution will be accepting tuition and fee payments against bills that are stored in the our system. In addition to the minimum ebill authentication parameters, the institution would like to pass us a full name to display when welcoming the user, control the users primary e-mail address, and restrict the payment method on a per user basis.
    URL     url     This will be issued to you by your project manager. It should be of the form https://pleasepay.com/schoolname/payer.do
    User Id     user_id     The unique identifier for the user within the institution. This is typically a student ID. (in our database)     
    Full Name     full_name     Users full name. Example “John Smith”. (in our database)
    Email Address     email     Primary email address.     in (our database)
    Payment Method     paymentMethod     Payment methods allowed for this user.
    Allowed values:
    “none” :no payments accepted
    “ach” :ach is the only accepted
    “cc” :credit cards only accepted
    “ach_cc” :credit card and ach      16
    Key     key     The shared key that is issued to you by your project manager.
    Time Zone     tz     The time zone you are located in. Valid values are:
    “E” :Eastern time zone
    “C” :Central time zone
    “M” :Mountain time zone
    “P” :Pacific time zone     1
    function get_payment_url_test(
            url         in varchar2,
            user_id     in varchar2,
            full_name   in varchar2,
            email       in varchar2,
            pay_method  in varchar2,
            key         in varchar2,
            tz          in varchar2
        ) return varchar2. Here is my questions: I know I need to have cursor to check on the user_id, full name, email (those values are store in our DATABASE. The URL and the key are giving to me. Do I have to hard code the url in the cursor and stored in a variable so I can check that the url coming in (url in varchar2) is equal to the url in my cursor? The same with the key?

    I saved the url the user_id and the full_name in a custom table, it is workinng, but I would like
    to pass a message like
    if user_id is null then
    raise_application_error(-20101, 'User ID is missing.');
    what is doing now if that it checks on the cursor and if any of the paramters if false
    it will return the first message in the --- return mesages that is fine the cursor is not retrieving any data, but I want to be more 'friendly' to the user, and if the user
    don't enter the id say something like null id or if is wrong wrong id, invalid id etc...
    wha
    function get_user_url(
            url         in varchar2,
            user_id     in varchar2,
            full_name   in varchar2,
            email       in varchar2,
            pay_method  in varchar2,
            key         in varchar2,
            tz          in varchar2
        ) return varchar2
        is
    Audit Trail:
    10/25/2010
    T
    Change History:
          timestamp  varchar2(20);
          v_pidm      saturn_midd.synelck.synelck_pidm%TYPE;
          v_user_id   saturn_midd.synelck.synelck_id%TYPE;
          v_full_name saturn_midd.synelck.synelck_name%TYPE;
          v_email     saturn_midd.synelck.synelck_email%TYPE;
          v_url       saturn_midd.synelck.synelck_email%TYPE;
          v_key       saturn_midd.synelck.synelck_key%TYPE;
          v_pay_method  varchar2(6);
        /* this table saturn_midd.synelck is inserted with all the students (with bills),
        the url and the key, in the way the function is going to validate the url, the id
        and the key against the values in the table*/
        CURSOR pass_the_test_cur is   
        SELECT
        synelck_pidm,
        synelck_id,
        synelck_name,
        synelck_email,
        synelck_url,
        synelck_key
        from
        saturn_midd.synelck
        where
        synelck_url = url
        and synelck_id = user_id
        and synelck_key = key 
        AND SUBSTR(synelck_name,1,120) = full_name;
         BEGIN
          IF pass_the_test_cur%ISOPEN
          THEN
              CLOSE pass_the_test_cur;
          END IF;
            OPEN pass_the_test_cur;
                 FETCH pass_the_test_cur
                       INTO v_pidm,v_user_id,v_full_name,v_email,v_url,v_key; 
            if pay_method = 'none' then v_pay_method := 'none';
              elsif
                pay_method = 'ach' then v_pay_method := 'ach' ; 
              elsif
                 pay_method = 'cc' then v_pay_method := 'cc';
              elsif           
                  pay_method = 'ach_cc' then v_pay_method := 'ach_cc' ;
           end if;      
              timestamp := get_epoch_timestamp(CURRENT_TIMESTAMP);
            If (v_url is not null and v_user_id is not null and v_key is not null
                and v_full_name is not null and v_key is not null
                and v_email is not null and v_pay_method is not null)  
            then     
                 return url || '?userId=' || escape(v_user_id, TRUE, character_set) ||
                '&' || 'fullName=' || escape(v_full_name, TRUE, character_set) ||
                '&' || 'email=' || escape(v_email, TRUE, character_set) ||
                '&' || 'paymentMethod=' || escape(v_pay_method, TRUE, character_set) ||
                '&' || 'timestamp=' || timestamp ||
                '&' || 'hash=' || get_md5_hash_value(v_user_id || v_full_name || v_email || v_pay_method || timestamp || v_key);
            end if;   
            --- return mesages     
           if v_url is null then
                raise_application_error(-20101, 'Inalid log on chek: Id .');
            end if;
            if v_user_id is null then
                raise_application_error(-20101, 'User ID is missing.');
            end if;
            if key is null then
                raise_application_error(-20101, 'Key is missing.');
            end if;
            if v_full_name is null then
                raise_application_error(-20101, 'Name is missing.');
            end if;
            if v_email is null then
                raise_application_error(-20101, 'eMail address is missing.');
            end if;
            if v_pay_method is null then
                raise_application_error(-20101, 'Payment method is missing.');
            end if;
        end l;Edited by: peace4all on Oct 26, 2010 7:13 AM

Maybe you are looking for

  • How can I get my iPod to play through the 30 pin connector?

    I bought an 30 pin to 8 pin adapter. I plugged it into my iPod and plugged it into the sound system (new Yamaha MCR -049). The scene says "unknown iPod" and will not play music (it comtinues to play through the iPod's speaker) and it does not indicat

  • Transport Rule does not appear to be working

    hi, I have an exchange 2013 environment.  i have a requirement to intercept inbound emails from external senders addressed to [email protected] and forward it to a single recipient. we have an internal distribution list already using [email protected

  • Adobe CS5 Photoshop Resources

    Hi, where are the CS5 Adobe Photoshop articles like these for CS4? OPTIMIZE PHOTOSHOP CS4 PERFORMANCE (updated for CS5) http://kb2.adobe.com/cps/404/kb404440.html CS4 SUPPORTED VIDEO CARDS http://kb2.adobe.com/cps/405/kb405711.html OPEN GL FEATURES a

  • What is the hash code?

    What is the hash code of an object? What does hash code mean?

  • How To run Currency translation for Consolidation Application in BPC NW

    In "How To do Currency Translation for Financial Application in BPC 7 NW", the author mention that there is another "How To run Currency translation for Consolidation Application in BPC NW", anybody know where to get it?