Button, Javascript Confirm Box and Process

I have a button on a page. When someone click on the button, depends on the value on a item, if it's not null, then pop up a confirmation box, if the item is null, the call a process directly. If the confimation is true, then call the same process, otherwise page won't be to submitted.
I' m still on version 1.6.
Anyone could give me some help?
million thanks!
Ran

Thans for the reply.
Here is what I did:
I created another item called itemB. And put a javascript function on the HTML Header. And put a image button and use onclick to trigger the function. Based on the confirm is true or false, the javascript will set the itemB to two different values. And the process will run based on the value of the itemB. It seems to work sometimes, but not always. I don't know if I am missing anything or maybe it's not a right way to do it. Could someone take a look for me. Here is the javascipt.
<script language="JavaScript" type="text/javascript">
function checkMissing(formItem,formItem2)
var t1 = document.getElementById(formItem).value;
if (t1 != null)
  conmod = confirm("There is/missing parts, Do you wnat to continue to close the seesion?");
  if (conmod == true)
   document.getElementById(formItem2).value = "CLOSE";
   doSubmit();
  else if (conmod == false)
    document.getElementById(formItem2).value = 0;
  else
   document.getElementById(formItem2).value = "CLOSE";
   doSubmit();
</script>

Similar Messages

  • Javascript Confirm box dependent on results of query

    Hi
    I'm using Apex version 3.2.1 and I'm looking for a way to do the following, any help much appreciated:
    A javascript confirm box will appear when the user submits a page if the result of a query returns anything, the query would look something like this....
    SELECT * FROM LINKEDPROJECTS
    WHERE ENV_ID = :P18_ENV_ID
    AND COMP_ID = :P18_COMP_ID
    AND DATE_FROM <= to_date(:P18_DATE_TO, 'DD-MON-YY')
    AND DATE_TO >= to_date(:P18_DATE_FROM, 'DD-MON-YY')
    If it doesnt return any data the page will submit as normal, if it does return any data the confirm box will appear, and the message will also be driven by the result of a query.
    So the message would be something like....
    Project(s) +"Select NAME FROM PROJECTS WHERE ID IN (SELECT PROJ_ID FROM LINKEDPROJECTS WHERE ENV_ID = :P18_ENV_ID+
    +AND COMP_ID = :P18_COMP_ID+
    +AND DATE_FROM <= to_date(:P18_DATE_TO, 'DD-MON-YY')+
    +AND DATE_TO >= to_date(:P18_DATE_FROM, 'DD-MON-YY')"+ have this environment booked on the dates you selected.  Do you want to continue with the booking?
    Selecting yes submits the page, selecting no returns them to the page.

    In a nutshell (and some pseudo code):
    The button URL would look something like "javascript:beforeSubmit()" without quotes and where beforeSubmit is the name of your function.
    The function would look something like:
    function beforeSubmit() {
      var runQuery = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=RunTheQuery',1);
      var result = runQuery.get();
      if (result = 0) {
        if (!apex.confirm('Submit page?")
          return;
      doSubmit('SUBMIT');
    {code}
    The application process, called "RunTheQuery" in this example, is a PL/SQL block that runs the query and return the value using the htp.prn function.
    There are probably errors in the above as I just did this off the top of my head, and you will probably need to tweak it somewhat.  But hopefully you get the idea.
    Mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Add JavaScript to boxes and buttons

    This question was posted in response to the following article: http://help.adobe.com/en_US/captivate/cp/using/WS5b3ccc516d4fbf351e63e3d119e9581edd-7feb.h tml

    This article is talking about a click box object in Captivate, not a text caption. Clickboxes and buttons in Cp are interactive objects that can be used to trigger Advanced Actions, one of which is to execute JavaScript code.
    You CAN make a text caption clickable by attaching an Event Handler widget to it.  This effectively turns the text caption into an interactive object capable of executing Advanced Actions in response to mouse events.  However, there is no Advanced Action that will turn your text caption into a scrolling caption.

  • Unix command to click button on dialog box and close windows?

    I administer an elementary school computer lab of 35 eMacs all with OS 10.4.7 and with ARD 3.0. Our network server configuration requires a mounted server on each desktop in order to administer certain software packages we use. Every morning at start-up I have to walk around and manually click "Connect" on the dialog boxes. Then, with this configuration, each time a server is mounted, it opens up a Finder Window on the host machine so I've got to walk around and close windows on all the machines. I'm sure there must be an AppleScript or Unix command that I can set up to do these two tasks but I've not found it (or learned how to write it) in a few days of searching. Any suggestions?
    Thanks,
    Dan

    OK guys,
    I just succeeded in saving the AppleScript command as an application. I put it in the Login Items just after the servers. It worked beautifully! No more open windows exposing sensitive files to the risks of elementary students (how come the mounted volumes always appear on the desktop even when the "hide" button is checked?). It would be great if the mounted volumes were not showing at least in a setting like a school computer lab.
    Now, I'm still dealing with the mounting process requiring me to manually click on "Connect" every time. The Student account doesn't even have a password just to make such things easier. Still the process displays this:
    (Oh well, I guess I can't insert a ScreenShot.)
    Here's what it says: Connect to the file server "server name."
    Connect as: Registered User
    Name: "account name"
    √Remember password in keychain
    (and then two buttons) Cancel or Connect
    That's where I'm at right now. My district Tech. Support folks say that there's no way to avoid the dialog box but John seems to do it OK. They also pointed me to an online source (www.bombich.com) that I haven't yet checked out.
    Thanks again,
    Dan

  • Newb deserving assistance with Adobe Javascript (check boxes and combo boxes)

    Hi, I'm a newb when it comes to javascript (using adobe acrobat pro 6.0).
    I am working on a form that will allow me to autofill checkboxes based off of information chosen. Ideally, I would like to have a selection from a combo box autofill/auto checkmark check boxes. Alternatively, I would be willing to just have different selections presented with check boxes that when filled, would auto checkmark other check boxes (I know how to do this one, but I am not sure how to clear the check boxes if the initial one is unchecked).
    I have the action button tied to the mouse up function. This just errors out.
    var Citrix = this.getField("Citrix")
    var Appro = this.getField("Appro")
    var SAS = this.getField("SAS")
    if (event.target.value=="Yes") {
    Citrix.checkThisBox = true
    Appro.checkThisBox = true
    SAS.checkThisBox = true
    else {
    Citrix.checkThisBox = false
    Appro.checkThisBox = false
    SAS.checkThisBox = false
    I have this that works, but I don't know how to clear the buttons when "Associate" is unchecked.
    if(this.getField("Associate").isBoxChecked(0));
    this.getField("Citrix").checkThisBox(0, true);
    this.getField("Appro").checkThisBox(0, true);
    this.getField("SAS").checkThisBox(0, true);
    The other way I was working on it, was to use a combo box to autofill/checkmark check boxes. But this code doesn't work either.
    function calculateTextField()
    // get the value of the combo box
    var comboValue = this.getField("Select").value;
    // get the state of the checkbox
    var isChecked = (this.getField("Citrix").value == "Yes");
    var textFieldValue = "";
    console.println(comboValue);
    if (isChecked)
    if (comboValue == 0)
    textFieldValue = "";
    if (comboValue == "Associate")
    (this.getField("Citrix").value == "Yes");
    else if (comboValue == "Specialist")
    (this.getField("Citrix").value == "Yes");
    else if (comboValue == "Team Leader")
    (this.getField("Citrix").value == "No");
    else
    (this.getField("Citrix").value == "No");
    else
    textFieldValue = "";
    this.getField("Select").value = textFieldValue;
    Can anyone please assist me with this?
    Thanks,
    Chris

    Hi Gene,
    Thank you for the response. Are you saying that my initial formula should look more like this; ?
    var Citrix = this.getField("Citrix")
    var Appro = this.getField("Appro")
    var SAS = this.getField("SAS")
    if (event.target.value=="Yes") {
    Citrix.checkThisBox = true
    Appro.checkThisBox = true
    SAS.checkThisBox = true
    else {
    if (event.target.value=="Off")
    Citrix.checkThisBox = true
    Appro.checkThisBox = true
    SAS.checkThisBox = true
    Thanks,
    Chris

  • Option ( Radio button  or check box)  on selection - screen , to go to CNR2

    <b>Subject - Option ( Radio button  or check box)  on selection - screen  , to go to Tcode CNR2</b>
    Hi all,
          I have developed  a report   , which  has  a  selection screen  with  one select-option ,  where i enter employee number     and  two radio buttons   ,  one is for all workcentres  and  other one   for active workcentre.   so when i enter  employee number  and  choose  either of the radio button  i wil get the  output  properly.  the output   displays ,  employee no,  employee name ,  work centre  and project  of that employee .   an employee may have  many workcentres   and   a corresponding project  for that work centre.
    Now the  Problem is  ,  from the same   report  i need to add  a option  on the selection -screen ,  ( plz  tell me whether to use  radio button  or check box   and if it is radio button    should  i  use it seperately  or  group it  in the above two buttons.) .
    so that when user selects  the  option   , the control should  go to  transaction code CNR2,  from where  i  can enter workcentre  and   in the next screen i have  HR assigntment tab , after choosing that it will dsplay persons   linked to the workcentre  and there is a delete icon  , from where i can delete the person.
    The only thing is  now to move / Navigate to the screen   or  go to transaction code CNR2   from  the report  or  from the selection screen.
    Your valuable Inputs are awaited, PLz  do lemme know 
    Thanks  in advance ,
    regards,
    Shuja

    Shuja,
    A radio button nor a checkbox should be used for navigation.  I would suggest a COMMAND BUTTON. 
    Something like this:
    Report ZZZZZZ.
    TABLES: sscrfields.
    SELECTION-SCREEN BEGIN OF BLOCK ONE WITH FRAME TITLE TEXT-001.
    selection-screen: PUSHBUTTON /10(20) but1 USER-COMMAND cli1.
    SELECTION-SCREEN END OF BLOCK ONE.
    initialization.
      but1 = 'Button Text Goes Here'.
    AT SELECTION-SCREEN.
      CASE sscrfields.
        WHEN 'CLI1'.
          call transaction 'CNR2'.
    start-of-selection.
    Your code here

  • How do i stop/disable the confirm box when i want to navigate to a different page?

    every time i try to refresh page, or hit the back button a confirmation box appears, resulting in constantly having to hit the return button, how do i stop this from happening?

    This issue can be caused by gadgets on the Facebook page.<br />
    You will have to check that out by removing each of them until you find the culprit.<br />
    If you added or updated gadgets recently than start with those.

  • Call a process based on the click of a javascript confirm popup box

    I have created a function to create a javascript confirm popup box which calls an update process called Reactivate_save(), see below:
    function reactivate_save()
    var r=confirm("Do you wish to save pending changes?")
    if (r==true)
    document.getElementById('Reactivate_Save').call();
    I want to make the update process conditional on clicking the 'ok' button inside the popup box.....Is this possible?
    I thought that I could reference it by using:
    value in expression 1 = expression 2
    reactivate_save() = true or 1
    Neither of these worked and wondering if there is something else that I can use?
    Thanks,
    Chris

    Hi,
    Your function is in Javascript while the process is PL/SQL. What you need to do is somewthing like this
    if (r==true)
    document.getElementById('Reactivate_Save').call(); // not sure what this does so left it as it is
    doSubmit('MY_REQUEST');
    }You can now use the 'MY_REQUEST' request, or whatever else you choose to call it, in the process condition using
    1. Request = e condition type by entering MY_REQUEST in the Expression 1
    or
    2. PL/SQL Expression type with :REQUEST = 'MY_REQUEST' in expression 1
    Note : In Apex 3 and below you need to add a semi colon at the end of PL/SQL Expresssions
    Regards,
    PS : Noticed that this is the same as call a process based on the click of a javascript confirm popup box
    Edited by: Prabodh on Sep 28, 2010 9:05 PM

  • Javascript Confirm popup Yes, No button instead of OK and Cancel?

    Hi,
    I wrote javascript for confirm popup like below:
    var answer = confirm ("Are you sure you want to delete this item ?");
    It is showing OK Cancel button popup , but I want to display Yes No buttons on popup insted of OK Cancel buttons...
    Appreciate if anyone give proper solution.
    Thank you.
    Still I could not get proper solution.... Please any one help me solve this... need js solution not jquery..

    Hi Praveen
    There is not direct option in JavaScript to get Yes/No buttons in a Confirm dialog.
    But, we can create a customized dialog box with our own HTML tags, controls and scripts and show it as a confirmation dialog using
    window.showModalDialog() function
    Here is the sample HTML to demonstrate how to create a customized confirmation dialog.
    Dialog.HTML (This contains the UI for the confirmation dialog. Message, Yes No buttons etc)
    <!DOCTYPE>
    <html>
    <head>
    <title>Confirmation Message</title>
    <script language="javascript" type="text/javascript">
    window.onload = function()
    var messageDiv = document.getElementById('dlgMessage');
    if ( messageDiv != null && typeof(messageDiv) != "undefined" )
    messageDiv.innerHTML = window.dialogArguments;
    function confirmClick(args)
    window.returnValue = args;
    window.close();
    </script>
    </head>
    <body>
    <div id="dlgMessage">
    </div>
    <input type="button" value="Yes" id="btnYes" onclick="javascript:confirmClick('yes')"/>
    <input type="button" value="No" id="btnNo" onclick="javascript:confirmClick('no');"/>
    </body>
    </html>
    MainPage.HTML (From where the confirmation dialog will be shown. In your case, u can use the script in this html and customize it according to ur needs)
    <!DOCTYPE>
    <html>
    <head>
    <title>Main Page</title>
    <script language="javascript" type="text/javascript">
    function showConfirmDlg(message)
    var returnValue = window.showModalDialog("dialog.html",message,"dialogHeight:150px;dialogWidth:200px");
    if ( returnValue == 'yes' )
    alert('Yes button is clicked in the dialog');
    else
    alert('No button is clicked in the dialog');
    </script>
    </head>
    <body>
    <input id="btnConfirm" type="button" value="Confirm" onclick="javascript:showConfirmDlg('Do you want to continue?');" />
    </body>
    </html>
    Hope this helps.
    See this MSDN Link for more information on how to use and customize the showModalDialog() function
    http://msdn.microsoft.com/en-us/library/ie/ms536759(v=vs.85).aspx

  • I click a box on a website and nothing happens. When I hover over the button "javascript:void(0); appears on the left"

    I click a box on a website and nothing happens. When I hover over the button "javascript:void(0); appears on the left"

    same issue

  • Confirm Box from PL/SQL process

    Hi all,
    I am using Apex 4.1. I have a page from which on cilck of submit button, a process runs. Now this process checks for certain page item values and based on them, a confirmation box is required. Now based on what the user chooses, either a procedure should be called or no action should be taken. I have written the following code but it does not seem to work.
    declare
    v_count number;
    begin
    v_count:=0;
    FOR i IN 1 .. apex_application.g_f07.COUNT
    LOOP
    if (apex_application.g_f07 (i) is not null) then
    v_count := v_count + 1;
    end if;
    end loop;
    if (v_count > 0)
    then
    htp.p('<script type="text/javascript">');
    htp.p('
    var r=confirm("Data entered for Saturday, do you want to proceed?");
    if (r==true)
    PR_TIMESHEET(:P11_PROJ_REF,:P11_RELEASE_ID,:P11_EMP,:P11_DATE,:no_of_rows);
    else
    htp.p('</script>');
    else
    PR_TIMESHEET(:P11_PROJ_REF,:P11_RELEASE_ID,:P11_EMP,:P11_DATE,:no_of_rows);
    end if;
    end;
    I dont know much about Javascript, just got this code through google.....
    Any help would be appreciated.
    Thanks in advance.

    rest_in_peace wrote:
    Hi all,
    I am using Apex 4.1. I have a page from which on cilck of submit button, a process runs. Now this process checks for certain page item values and based on them, a confirmation box is required. Now based on what the user chooses, either a procedure should be called or no action should be taken. I have written the following code but it does not seem to work.
    declare
    v_count number;
    begin
    v_count:=0;
    FOR i IN 1 .. apex_application.g_f07.COUNT
    LOOP
    if (apex_application.g_f07 (i) is not null) then
    v_count := v_count + 1;
    end if;
    end loop;
    if (v_count > 0)
    then
    htp.p('<script type="text/javascript">');
    htp.p('
    var r=confirm("Data entered for Saturday, do you want to proceed?");
    if (r==true)
    PR_TIMESHEET(:P11_PROJ_REF,:P11_RELEASE_ID,:P11_EMP,:P11_DATE,:no_of_rows);
    else
    htp.p('</script>');
    else
    PR_TIMESHEET(:P11_PROJ_REF,:P11_RELEASE_ID,:P11_EMP,:P11_DATE,:no_of_rows);
    end if;
    end;
    I dont know much about Javascript, just got this code through google.....
    Any help would be appreciated.
    Thanks in advance.Does this help? javascript in pl/sql process block

  • Js-confirm box with request and passing value: incorrect url

    Hi folks!
    Scenario: User clicks on link-column field in tablular form, Confirm box pops up with a confirmation message, with "OK" generates a request and should pass a value from the form into an item for further processing.
    The URL in the column link as of now looks like that:
    javascript: apex.confirm("message goes here...", {request:"EQDONE", set:{"P2100_X": "#EQMID#"}});For some reason just nothing happens. When I omit the "javascript:", I get an unvalid-url error message. But if I change the procedure name, shoudln't I get some error message also?
    Please tell me what's wrong. Thank you! :)

    Hmm... Ok, makes sense... a little.
    The use of (in my case) #EQMID# works, if the target is not URL but "Page in App", and you use the Column Link Dialog fields "Name" and "Value", but maybe because at this point it gets renderes into html and not when called from a javaScript function? Thats how I understand it now.
    However: I have just looked into the html-sourcecode. The java Script call IS actually fully rendered with the corrosponding IDs.
    This is a sample of one table row:
    <tr class="even"><td  align="left" headers="Erfasst">13.08.2012</td><td  align="left" headers="KundenNr">4784668</td><td  align="left"
    headers="Kontrolle">XML-Abrechnung - Abrechnungsart überprüfen bei KundenNr: 4784668</td><td  align="left" headers="Details">TD, STEWEAGSTEG_LF:
    Papier+Archiv (GK)</td><td  align="left" headers="Ausnahme bis">-</td><td  align="left" headers="bearbeitet von">-</td><td  align="center" headers=
    "'ERLEDIGT'"><a href="javascript: apex.confirm("message goes here...", {request:"EQDONE", set:{"P2100_X": "34"}});" ><img src="wwv_flow_file_mgr.get_file?
    p_security_group_id=6519817386341009&p_flow_id=150&p_fname=ausnahmeBtn_check.png" alt="" title="Fehlerhaften Verrechnungstyp im SDK-PS ausbessern
    und Eintrag als erledigt kennzeichnen."></a></td><td  align="center" headers="'AUSNAHMEREGELUNG'"><a href="f?p=150:2100:1212226464451606:EINGAU
    SNAHME:NO::P2100_KUNU_AUSNAHME,P2100_EQMID,P2100_DATEPICK_AUSN:4784668,34," ><img src="wwv_flow_file_mgr.get_file?p_security_group_id=
    6519817386341009&p_flow_id=150&p_fname=ausnahmeBtn.jpg" alt="" title="Diesen Kunden als Ausnahmeregelung bis zu vorgegebenem Datum deklarieren.">
    </a></td></tr>The set statement containe the correct ID in each row! Here 34.
    So, according to http://docs.oracle.com/cd/E17556_01/doc/apirefs.40/e15519/javascript_api.htm#AEAPI274 , it should work.
    Anyway, I will try your suggestion using the fnn array.
    Edited by: tpetri on 16.08.2012 08:34

  • Confirm end of processing check box in task

    Hi,
    In my workflow used fork with 2 parallel branches.
    In one branch is a dialog activity step ( sending doc to incorportaors for review -  checked the confirm end of processing checkbox in the task )
    and in the other branch is a 'Wait for Event' step ( wait for rejection - when status getting changes to 32).
    when executing dialog activity with confirm end of processing,branch 1 wait step workitem is getting completed and branch 2 workitem is logically getting deleted and further step in the workflow is not executed in branch 2.
    Same changes I am trying to do without confirm end of processing pop up.When I uncheck the check box and execute the dialog activity, branch 1 wait step workitem is getting completed and branch 2 workitem is also getting completed ( instead logically getting deleted ) and further step in the workflow is executed in branch 2. I dont want the remaining step to get executed.
    Please let me know how to achieve this. I tried with some function module but its not working.
    In the attached file, I have shown the screenshot where it is going wrong.
    Thanks & Regards,
    Priya

    Hi Priya
    Both steps (in both branches) are getting executed by the same activity by the user. Yes, it's a race as correctly mentioned by Mike
    As mentioned by Prakash, either you need to restrict REJECTION event creation or you can try an approach mentioned in the following thread:
    Re: TRIP Workflow approval issue
    You can refer to my response in the above thread:
    Dated: Feb 26, 2014 (10:25AM) and Feb 26, 2014 (12:59PM)
    Regards,
    Modak

  • Retain item in Inbox and confirm end of processing

    HI All,
    I am trying to implement retaining item in inbox if user selects to cancel. I was told confirm end of processing is best otpion, when I try to change the task using pftc it still shows the confirm end of processing and background processing as greyed out.
    First question will be if it is foreground processing and honest answer is I dont know, however I assume that since we open invoices and access it from inbox, it is foreground processing item.
    Can you please advise ?
    thanks,
    RS

    Hi Reena,
    to find out if it's a foreground(Dialog) task or not, go to the task (PFTC) and see below the Method. If it says "Object method with Dialog", then its a foreground or dialog task. that means, a user intervention is required to execute this method. Another way, is go the method & BO in SWO1 and dblclick on the method. IF the Dialog check box is checked, then its a dialog task.
    And, in the invoices, if you  are using FIPP or BUS2081.CHANGE method, then,its a dialog task.
    Hope this helps
    venu

  • Problem getting check boxes and radio button to click with applescript

    This is my script, it runs through without error, i can see the check box lightly flash like its being focused in on, but it wont actually check mark the box. it does this with all my check boxes and radio buttons.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12
    key code 125
    key code 125
    key code 124
    key code 125
    key code 125
    key code 36
    delay 1
    end tell
    tell window "Variable Links"
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell

    Hi craneium and welcome
    For me this script fails, going through it step by step it seems confused, as I have highlighted out in the below code.
    where is the window "Variable Links, may be I can help.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12 --opens spotlight search in help
    key code 125 -- highlights indesign help
    key code 125 -- highlights welcome screen
    key code 124 -- goes to apple
    key code 125 -- goes to about this computer
    key code 125 -- highlights software update
    key code 36 -- starts software update
    delay 1 -- ?
    end tell
    tell window "Variable Links" -- error cant get window variable links
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell
    Budgie

Maybe you are looking for

  • Import , Export problem in Internal table

    Hi all, I am using ver 4.6C. I have 2 programs  namely X an Y. X is main program  and Y is having some Internal table with data. I want to use Y internal table in X program. In X program. I used SUBmit to call Y program . After Submit  I used Import

  • Open documents from dash

    When I search for a document, for example "vocabulary" (because I have a .odt file with the new English vocabulary I learn), it opens in the "Documents" gnome application, and I can't edit the file; only read it. How can I make it open in libreoffice

  • How to Trace ABAP Webdynpro Application?

    Dear Friends, We are trying analyse performance bottle neck for ABAP Webdynro application. We have an Webdynpro Application named Z_APPLICTION_URL in NW 7.0 SP16 which is calling 4 RFC's in R/3 4.7 to fech data. Users lauch this application using URL

  • ERROR = CONNECT failed with sql error '1017'

    Hi, we are getting the following error when we run r3trans -dx.It is an windows system. Here i have attached the trans.log. 4 ETW000 r3trans version 6.14 (release 700 - 16.10.08 - 16:26:00). 4 ETW000 =============================================== 4

  • Nexus_5000 policing

    Could anyone help??? Is it possible to policing on the Nexus 5k - reading through the documents it seems it has been replaced with network-qos.  But the regular command do not work.  Such as;   ip access-list policing permit ip any 172.20.0.0 0.0.255