I'm dumb:  How to tab to form elements in Safari (and OSX in general)

How do I tab to a checkbox on a form in Safari? Tabbing to textfields works ok and buttons too, but no go on checkboxes. On an x86 box (windoze) I can tab to a checkbox and hit the spacebar to tick that element. I'm fairly new to OSX and have noticed this in other parts of the UI besides Safari.
Thanks,
Derek

Open up Keyboard & Mouse in System Preferences. Click on Keyboard Shorcuts. At the bottom of the window, check off "All controls". Close System Preferences. That should do it.

Similar Messages

  • Can anyone tell me how to get rid of Cookies in Safari and Firefox?

    Can anyone tell me how to get rid of Cookies in Safari and Firefox?
    Am using Mountain Lion MacBook Pro  Thanks

    Firefox/Preferences/Privacy - small blue type.

  • HT204053 How do I turn cookies on for safari and iTunes Store?

    How do I turn cookies on for safari and iTunes Store?

    Settings>Safari>Block Cookies>From third parties and advertisers (or Never).

  • How to download adobe form in sap inbox and process it

    Hello experts,
    I have a query like how we can download the adobe forms in sap inbox and process process the forms using some program which will convert form data in to XML.
    thanks in advance.

    Hello Samad arif,
    May be you can reuse the code that placed in this document to covert the PDF form to XML format.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d
    Thanks,
    Bharath.K

  • Very urgent: How to append the form elements to the Querytext

    Hi All,
    Could anyone please guide me thru of how we can pass the Querytext in the serach results page in content server 10gR3. As far as I knew we
    pass thru in submitfrm() function in the resource include query_submit_form_function.
    Am actually trying to customize the search page and search results page and we have several onclick events in the search page.
    When we click on the radio button or checkbox. we were able to see the metadata fields in the dropdownlist and I will select the field name
    matches some value....How we can append the selected values to the QueryText. How can the Querytext build based on the selection of form
    elements.
    Please give me some idea...your help is very much appreciated. Let me know if you have any questions....
    Thanks,
    isha.

    Hey,
    Thanks for the response. I also got the same thought after going through in depth of Search related resource includes...
    I'm not sure of how to do this. Which includes I need to modify. And where exactly I have to write this Onclick event. And where exactly I have to pass this hidden parameters...I knew that we do have to add in Searchform form. However do we need to add the hidden parameters to the standard resource include.
    As far as I knew, submitfrm() is the function which holds of Searchform values and also query_form_init script.
    Could you please guide me through the steps. Which resource incliudes I have to modify/override..
    Thanks a lot for your help.

  • How to set a form element value using javascript?

    Hello,
    I have been using the following two functions in AS 9.0.2 to set form values in javascript and it works correctly. However, the same code does not work in AS 10.1.2.0.2. Would appreciate if someone could let me know how to set form elements using Javascript(onchange of a field).
    function set_item_value(p_field_name, p_value)
    var v_index, v_full_name;
    for(v_index=0; v_index<document.forms[0].length; v_index++)
    v_full_name = document.forms[0].elements[v_index].name.split
    if (v_full_name[2] == p_field_name)
    document.forms[0].elements[v_index].value = p_value;
    function get_item_value(p_field_name)
    var v_index, v_full_name, v_return="";
    for(v_index=0; v_index<document.forms[0].length; v_index++)
    v_full_name = document.forms[0].elements[v_index].name.split
    if(v_full_name[2] == p_field_name)
    if(document.forms[0].elements[v_index].type != "radio")
    v_return = document.forms[0].elements[v_index].value;
    else
    if(document.forms[0].elements[v_index].checked)
    v_return = document.forms[0].elements[v_index].value;
    if(v_return == " ")
    v_return = "";
    return v_return;
    Thanks
    Dev

    This is not the best way to write JavaScript in Portal environment!
    You can't be sure that a form is the first in the html source!
    In Portal you change the order of your portlets, and also you can have several instances of the same portlet on the same page!!!
    You should use qualified form and field names!
    Please check the following JPDK methods:
    UrlUtils.htmlFormName
    HttpPortletRendererUtil.portletParameter

  • How to convert Smart Form into PDF format and return the result in BAPI?

    I want to convert a Smart Form into PDF format and return the result in BAPI.
    can anyone tell me how it can be done with related example
    regards
    pranay

    hi,
    smart form to pdf--
    All you have to do is call your SF to get OTF and then concert it to PDF. Works like charm:
    DATA: p_output_options TYPE ssfcompop,
    p_control_parameters TYPE ssfctrlop.
    p_control_parameters-no_dialog = 'X'.
    p_control_parameters-getotf = 'X'.
    CALL FUNCTION v_func_name "call your smartform
    EXPORTING
    output_options = p_output_options
    control_parameters = p_control_parameters
    IMPORTING
    job_output_info = s_job_output_info.
    call function 'CONVERT_OTF_2_PDF'
    tables
    otf = s_job_output_info-otfdata
    lines = t_pdf
    and if u need more u can check below links also
    Check the below links..
    Re: Smartforms to PDF
    Re: smartform (otf) as pdf and sending as email-attachment
    VISIT THIS LINK
    Re: Smartforms to PDF
    PLZ REWARD POINTS IF IT HELPS YOU
    rgds
    anver

  • How to use same form for Editing info and creating info.

    Hi all,
    Here my aim is to select the user from list and edit the user info. There is one more option to create the new user.
    Currently I am using two separate input forms one for Editing and one more creating new user.
    Can anyone tel me, how to use the same form for both editing and creating.
    Thanks,
    Ramesh Biradar

    Hi Ramesh,
    I'll make some assumptions about how you're going about this, and then give you a possible solution:
    I assume that you have a table with selection on one page. To edit an item, you wish to select it's radio button and click an edit button to take you to another page with the item filled in to edit it. To create a new item, you'd like to click a "new" button and go to the same page.
    If this is correct, here's the basic steps:
    1). Assuming you have both the list and edit pages already created, make sure you have a JSF navigation case defined going from the list page to the edit page. I'll call this navigation case "goToEditPage" for this discussion.
    2). To make the edit button, drag a command button from the component palette and drop it on the af:TableSelectOne (the column in your table containing the radio buttons for selection).
    3). Set the action property on this command button to "goToEditPage".
    4). Now, to make the create button, drag a command button from the component palette somewhere on the page. I like to put mine in a panelButtonBar inside the actions facet of an af:Page component.
    5). Now, for the Action property of this command button, bind it to a method in your page's backing bean. The code will look something like this:
    public String performNew()
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("Create");
        Object result = operationBinding.execute();
        if (!operationBinding.getErrors().isEmpty())
          return null;
        return "goToEditPage";
    }Hope this is helpful, Ramesh.
    Regards,
    John

  • How to publish infopath forms to open new and old form templates in sharepoint2007

    Hi All,
    My requirement is , we are having a form library with the Infopath form templated(V1) published.
    Then we have added about 300 items using template(v1) into the sharepoint library.
     Then client asked for the changes in form and we deveploped infopath template (V2) and published, able to create the items using the new template(v2).
    But ,the issue is when we open item from the 300 items which are created with template(v1), its is opening using template(v2) and we are loosing the functionality of template(v1).
    Can i know ,how to publish the form template to use both template versions and it should open the form with  wahatever the  template it used for creation.
    Thanks in Advance.
    Anil Kumar K

    Hi,
    If you want the InfoPath forms for displaying the items in the list, then I recommend to click Customize Form button in the ribbon of the list to edit the form in InfoPath and then publish the form back to SharePoint.
    After that, you will see there are three new forms(displayifs.aspx, editifs.aspx, newifs.aspx) when you view the list in SharePoint Designer.
    Then you can create the custom action to navigate to the custom InfoPath form:
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • How to get Adobe form element

    Hi Guru,
    How can i get adobe element
    Ex: I have one dropdwon List with Name : List1.
    I want get the value of <b>List1</b>.
    Like-----weContext.currentDataElemet.getMaterial();
    like that i need to get <b>List1</b> value. this element is not bind.  dynamically i want take that value of List and need to assign to another field.
    please help little bit urgent.
    Thanks
    Ramana

    Thanks Dvorah, but I don't get it...what do you mean to get the form values with AJAX? The form is in the client side, with AJAX I should issue a Xml request to the server... but the values are in the form... I don't understand your answer... if you could please explain a little bit more I'd really appreciate it. Thanks again.

  • Referencing "image" form elements using Safari

    I'm trying to write an Applescript which uses Safari's do JavaScript feature to reference the elements of forms in web pages. I've run into a puzzle in cases where the page designer chose to use an element of type "image" for form submission. It looks to me as though input tags with a type attribute of "image" are not being represented in the JavaScript elements array for the form.
    Here's a mini-script to display a list of the element types within a form on a web page:
    set formName to "loginForm"
    set types to {}
    tell application "Safari" to tell front document
    set elementCount to do JavaScript "document." & formName & ".length"
    repeat with elementNumber from 0 to elementCount - 1
    copy (do JavaScript "document." & formName & ".elements[" & (elementNumber as text) & "].type") to end of types
    end repeat
    end tell
    set text item delimiters to {space & "/" & space}
    display dialog types as text
    Before running, I find a web page with a login box, and look at the page code to find the name of the form in question, in this case "loginForm" and put that name in the first line of the script. Then I bring the page in question to the front and start the script.
    For one page, I got the result "hidden / hidden / text / text / hidden / checkbox / password / checkbox / submit" and when I checked this against the page code, I found it was correct: there were nine <input> tags in the form, and their type attributes were in that order. But for another page, the home page of a major credit card, I got the result "hidden / text / password / select-one / checkbox" when I was expecting "hidden / text / password / select-one / image / checkbox." I've tried this with other pages and the behavior seems consistent: all types of <input> tags are represented in the elements arrays of their forms, except <input type="image"> which are always left out.
    So, is this a bug or a feature? Or am I just unclear on the concept of the elements array? And if so, is there another way to find the submit element of a form when it is an "image"?
    Incidentally, I'm not trying to be cagey by leaving out links to the pages I've tested. I'm just fairly new to discussion groups and was worried that linking to third-party pages for what amounts to a science experiment might not be the best net etiquette. If someone knows better, I will accept instruction. I hope my question is clear anyway, and there is no shortage of pages for experimental subjects.

    True, it is not a matter of AppleScript per se. I did look for an Apple forum on JavaScript but didn't see one. OS X Technologies > AppleScript looked like my best bet: I've seen quite a few postings here where the answer to a question involved JavaScript, Unix shell scripts, PHP, etc., so I don't think I'm far off the mark. And I didn't think of a non-Apple JavaScript forum because I don't think my question is about JavaScript per se either: I suspect it is about Apple's implementation of JavaScript.
    You're quite right about what I'm trying to do. I have a script that transfers secure data from my keychains into web forms, and there's really no need to trigger the form submittal programmatically when I have a perfectly good mouse and index finger, but it's become an enjoyable intellectual challenge to make it happen automatically. Incidentally, what you suggest may actually be a little dangerous these days: at any rate, that simple document.formName.submit(); method is more likely to fail than succeed.
    Short version: physically clicking on a submit button on a web page in the conventional way is likely to invoke a lot of validity checking code in the page before the form is actually submitted. If, for example, there is a credit card number in the form, there will probably be code to do a Luhn checksum to make sure you've entered a real credit card number. If the validation fails, the submittal can be aborted. Using the .submit() method, by itself, does not trigger this validation code. (I fervently believe there is an excellent reason for this, but I've no idea what it might be.) Because of this, the form may be submitted with hidden element values that quite probably reflect the lack of validation. The server detects the anomaly, and instead of logging you in, it sends you to an error page. That's probably the best that can happen. I can think of worse.
    My script has provisions to "play by the rules" by invoking any such validation code, and respecting its decision whether or not to proceed with submittal. I have the script working very well, but there's always the possibility of some web page designer doing something which I have not correctly anticipated. (In fact, since one possible place to put validation code invocations is in the "onclick" handler of the submit button, and since I'm having trouble finding some of these, I know I'm not covering all bases.)
    A much more foolproof strategy would be to just simulate the physical clicking of a button. This is straightforward:
    set submitButton to "document.formName.submitButtonName"
    tell application "Safari" to tell front document
    do JavaScript submitButton & ".focus();" & linefeed & submitButton & ".click();"
    end tell
    And to date I've never seen this method fail. But to do it, I have to have the name, or the array index, of the submit element of the form. I thought I knew how to find this, in the form's elements array, but I've run into a strange phenomenon. There are two kinds of submit buttons in forms: type="submit" and type="image". The type="submit" buttons do appear in the elements array, but the type="image" buttons apparently do not. And since web designers love to spiff up their pages, type="image" seems to be far more common these days.
    I suspect this is just something that was accidentally left out of Apple's implementation of the JavaScript document model. I just thought I would ask if anyone else was aware of this, and could confirm or disconfirm. If no one does in the next day or so, I will bring the matter to the attention of the good people at Apple Bug Reporter.
    All the best.

  • How to print uspto patent images using Safari and Quicktime

    3/18/06
    Do you want to know how to print US patent images using Safari? Read on.
    When you access the "images" link of a specific patent on the www.uspto.gov/ website using Safari, the page you are viewing is only one small upper left tile of a huge patent image that is not sized to the screen. You can scroll and try to read the page but it's almost impossible. Try to print it out and you only print what's on the screen. Bummer.
    The fix:
    Place the cursor on the opened image (it may appear blank), hold down the CONTROL key on you keyboard and click on the image. Two instructions come up. Click on the "Save Image to the Desktop" instruction and a DImg.tiff file will be created on your desktop. Click on the .tiff file and it should open in the Preview program, then simply print out the image. Voila!!!!
    Click the yellow arrow in the left margin to access page 2 of the patent and repeat the previous instructions to create another .tiff file on your destop. Do every page and you'll have the patent available to print out one page at a time.
    You can then rename the files and create a folder for that specific patent so you can access it later without signing onto uspto site.
    It's odd that the ever compatible Apple does not provide seamless compatibility to view and print patent images on the US Patent and Trademark Office's website. Where would they be without protecting their own intellectal property? Let's hope the next version of Quicktime includes the appropriate ITU T.6 or CCITT Group 4 (G4) compression language.
    Even the "throw it out the Windows" operating system is up to speed on this issue for America's hard working inventors.
    Keep on inventing.
    Tommy K
    imac 400 DV   Mac OS X (10.3.9)   Cube 450
    imac 400 DV   Mac OS X (10.3.9)   Cube 450

    Another similar thread on this issue...
    http://discussions.apple.com/thread.jspa?messageID=1602391

  • COPA: how to identify which cost element for sender and receiver in IMG

    Hi Guru,
    I know my cost element for sender and receiver from the settlement document, but where in IMG, i can identify how it settup to use which cost element for my sender - order , which cost element should be used for my reciever profit segment.
    Thanks,
    Kick

    Hi,
    Go to KEI1
    Select your transfer structure
    double click on assignment lines
    check the source and value fields to get the mapping.
    Regards,
    Sridevi
    <i><b>Pls. assign points, if useful</b></i>

  • How do i block annoying ads on safari and searches?

    How do you block ads on safari and searches?

    Irlhelp,
    Safari AdBlock is a helpful extension designed especially for that purpose.

  • How to reference html form element in javascript ?

    Dear all,
    My DPK portlet is like this:
    I created a html form within it there a several textfields, a hidden field and a SUBMIT button.
    The application will call itself to insert a new record to database table on pressing the SUBMIT button.
    My problem is that since all the form textfields and the hidden field ara all the qualified names, and I want to set the hidden field to some value, say "ADD" on the onsubmit event in the form. How can I reference the hidden field in javascript ?
    Or can you suggest another strategy to do that ?
    Many thanks
    George (HK)
    Here are the code fragment:
    String portletParamSubmit = "mSubmit";
    String portletParamTitle = "mTitle";
    String portletParamURL = "mURL";
    String portletParamAction = "mAction";
    //Fully qualified URL.
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    String formName = UrlUtils.htmlFormName(pReq, null);
    String fTitle = HttpPortletRendererUtil.portletParameter(request, portletParamTitle);
    String fURL = HttpPortletRendererUtil.portletParameter(request, portletParamURL);
    String fAction = HttpPortletRendererUtil.portletParameter(request, portletParamAction);
    String vl_Title = "";
    String vl_URL = "";
    String vl_Action = "";
    String vl_result = "";
    if( pReq.getQualifiedParameter(portletParamAction) == "ADD")
    vl_Title = pReq.getQualifiedParameter(portletParamTitle);
    vl_URL = pReq.getQualifiedParameter(portletParamURL);
    //Add News.
    try{
    CallableStatement cs_2 = conn_erp03.prepareCall("{call XXCT_PORTAL_NEWS_PKG.P_ADD_NEWS(?,?,?,?,?,?)}");
    cs_2.setString(1, "ADD");
    cs_2.setString(2, pReq.getUser().getName());
    cs_2.setString(5, vl_Title);
    cs_2.setString(6, vl_URL);
    cs_2.registerOutParameter(10,Types.VARCHAR);
    cs_2.execute();
    vl_result = cs_2.getString(10);
    cs_2.close();
    catch (SQLException se) {
    sb.append("Query: SQL Exception: " + se.toString());
    System.out.println(sb);
    %>
    <head>
    <script language = "Javascript">
    <!--
    function SetAction() {
    document.<NAME THE OF HIDDEN FIELD>.value = 'ADD'; <====How to refer it ?
    return 1;
    // -->
    </script>
    </head>
    <body>
    <form name="<%=formName%>" method= "POST" action="<%=UrlUtils.htmlFormActionLink(pReq, UrlUtils.PAGE_LINK)%>" onSubmit="return SetAction()">
    <%= UrlUtils.htmlFormHiddenFields(pReq, UrlUtils.PAGE_LINK, formName)%>
    <table>
    <tr>
    <td>Title</td>
    <td><input type="text" length=100 name="<%=fTitle%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td>URL</td>
    <td><input type="text" name="<%=fURL%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td><INPUT type="submit" name="mysubmit" value="ADD NEWS"></td>
    <td><input type="hidden" name="<%=fAction%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    </body>

    hi Neeraj Sidhaye,
    After trying your suggest codings,
    I come to the problem of null pointer exception message captured in the application log file as:
    06/08/11 11:48:57 Prj_News: [instance=212602_PORTLET_NEWS_49519249, id=79187977878,4] ERROR: AbstractResourceRenderer.renderBody - recieved ServletException. Root cause is
    java.lang.NullPointerException
    What's wrong ?
    George (HK)
    Here is my coding:
    <%@page contentType="text/html; charset=Big5"
    import="javax.naming.*"
    import="javax.sql.*"
    import="java.sql.*"
    import="oracle.jdbc.*"
    import="java.sql.Date"
    import="java.util.*, oracle.portal.provider.v2.*"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    import="oracle.portal.provider.v2.render.PortletRendererUtil"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"
    import="oracle.portal.provider.v2.url.UrlUtils"
    %>
    <%
    StringBuffer sb = new StringBuffer();
    PortletRenderRequest pReq = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <%
    //Database connection.
    InitialContext ic = new InitialContext();
    DataSource ds_erp03 = null;
    Connection conn_erp03 = null;
    try {     
    ds_erp03 = (DataSource)ic.lookup("jdbc/ERP03_DS");
    conn_erp03 = ds_erp03.getConnection();
    catch (SQLException se) {
    sb.append("Connection: SQL Exception: " + se.toString());
    System.out.println(sb);
    catch (NamingException ne) {
    sb.append("Connection: Naming Exception: " + ne.toString());
    System.out.println(sb);
    %>
    <%
    //Self defined names.
    String portletParamSubmit = "mSubmit";
    String portletParamMainCat = "mMainCat";
    String portletParamSubCat = "mSubCat";
    String portletParamTitle = "mTitle";
    String portletParamURL = "mURL";
    String portletParamDescription = "mDescription";
    String portletParamEffDateFm = "mEffDateFm";
    String portletParamEffDateTo = "mEffDateTo";
    String portletParamAction = "myAction";
    //Fully qualified URL.
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    String formName = UrlUtils.htmlFormName(pReq, null);
    String fMainCat = HttpPortletRendererUtil.portletParameter(request, portletParamMainCat);
    String fSubCat = HttpPortletRendererUtil.portletParameter(request, portletParamSubCat);
    String fTitle = HttpPortletRendererUtil.portletParameter(request, portletParamTitle);
    String fURL = HttpPortletRendererUtil.portletParameter(request, portletParamURL);
    String fDescription = HttpPortletRendererUtil.portletParameter(request, portletParamDescription);
    String fEffDateFm = HttpPortletRendererUtil.portletParameter(request, portletParamEffDateFm);
    String fEffDateTo = HttpPortletRendererUtil.portletParameter(request, portletParamEffDateTo);
    // String fAction = HttpPortletRendererUtil.portletParameter(request, portletParamAction);
    String fAction="myAction";
    String vl_MainCat = "";
    String vl_SubCat = "";
    String vl_Title = "";
    String vl_URL = "";
    String vl_Description = "";
    String vl_EffDateFm = "";
    String vl_EffDateTo = "";
    String vl_Action = "";
    String vl_result = "";
    %>
    <%
    if( pReq.getQualifiedParameter(portletParamAction).equals("ADD")) <= This line cause the null pointer exception <<<<<<<<
    vl_MainCat = pReq.getQualifiedParameter(portletParamMainCat);
    vl_SubCat = pReq.getQualifiedParameter(portletParamSubCat);
    vl_Title = pReq.getQualifiedParameter(portletParamTitle);
    vl_URL = pReq.getQualifiedParameter(portletParamURL);
    vl_Description = pReq.getQualifiedParameter(portletParamDescription);
    vl_EffDateFm = pReq.getQualifiedParameter(portletParamEffDateFm);
    vl_EffDateTo = pReq.getQualifiedParameter(portletParamEffDateTo);
    //Add News.
    try{
    CallableStatement cs_2 = conn_erp03.prepareCall("{call XXCT_PORTAL_NEWS_PKG.P_ADD_NEWS(?,?,?,?,?,?,?,?,?,?)}");
    cs_2.setString(1, "ADD");
    cs_2.setString(2, pReq.getUser().getName());
    cs_2.setString(3, pReq.getQualifiedParameter(portletParamMainCat));
    cs_2.setString(4, pReq.getQualifiedParameter(portletParamSubCat));
    cs_2.setString(5, pReq.getQualifiedParameter(portletParamTitle));
    cs_2.setString(6, pReq.getQualifiedParameter(portletParamURL));
    cs_2.setString(7, pReq.getQualifiedParameter(portletParamDescription));
    cs_2.setString(8, pReq.getQualifiedParameter(portletParamEffDateFm));
    cs_2.setString(9, pReq.getQualifiedParameter(portletParamEffDateTo));
    cs_2.registerOutParameter(10,Types.VARCHAR);
    cs_2.execute();
    vl_result = cs_2.getString(10);
    cs_2.close();
    catch (SQLException se) {
    sb.append("Query: SQL Exception: " + se.toString());
    System.out.println(sb);
    %>
    <SCRIPT SRC="<%=HttpPortletRendererUtil.absoluteLink(pReq,"clock.js")%>"></SCRIPT>
    <LINK REL=stylesheet TYPE="text/css" HREF="<%=HttpPortletRendererUtil.absoluteLink(pReq,"tables_style.css")%>">
    <head>
    <script language = "Javascript">
    <!--
    function doSubmit(myAction)
    // alert(myAction);
    if(myAction == 'ADD')
    document.forms[0].<%=fAction%>.value="ADD";
    else if(myAction == 'DELETE')
    document.forms[0].<%=fAction%>.value="DELETE";
    document.forms[0].submit();
    // -->
    </script>
    </head>
    <body>
    <form name="<%=formName%>" method= "POST" action="<%=UrlUtils.htmlFormActionLink(pReq, UrlUtils.PAGE_LINK)%>">
    <%= UrlUtils.htmlFormHiddenFields(pReq, UrlUtils.PAGE_LINK, formName)%>
    <table>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Page</td>
    <td>
    <select name="<%=fMainCat%>">
    <option value="X">-- Please select --
    <option value="FAE">FAE
    <option value="PM">Product Marketing
    <option value="RD">R&D
    <option value="BU">Business Unit
    </select>
    </td>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Region</td>
    <td>
    <select name="<%=fSubCat%>">
    <option value="X">-- Please select --
    <option value="1">Region 1
    <option value="2">Region 2
    <option value="3">Region 3
    <option value="4">Region 4
    </select>
    </td>
    </tr>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Date From</td>
    <td><input type="text" size="6" maxlength="10" name="<%=fEffDateFm%>"></td>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Date To</td>
    <td><input type="text" size="6" maxlength="10" name="<%=fEffDateTo%>"></td>
    </tr>
    </table>
    <table>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Title</td>
    <td><input type="text" size="100" maxlength="100" name="<%=fTitle%>"></td>
    </tr>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">URL</td>
    <td><input type="text" size="100" maxlength="200" name="<%=fURL%>"></td>
    </tr>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Description</td>
    <td><textarea id="description" rows="5" cols="76" maxlength="500" name="<%=fDescription%>"></textarea></td>
    </tr>
    <tr>
    <td><input type="hidden" id="<%=fAction%>" name="<%=HttpPortletRendererUtil.portletParameter(request, portletParamAction)%>"></td>
    <td><input type=button value="Add" onClick="doSubmit('ADD')"></td>
    </tr>
    </table>
    </form>
    </body>

Maybe you are looking for