Forms Help 6i ( Key filters )

How to restrict users from pressing a key ( for example special characters in a text field of Character data type). I am running forms in a Client/Server architecture and not a Web based system.
I found that in web forms we can use the PJC (Pluggable java components) / Java beans to get this done. Tell me in relation to forms 6i running in a Client / Server Mode.
Its little urgent. Please help !
Thanks in Advance....
Santhoshkumar.G.

Create a Relation object in the master block - this will handle all this for you.

Similar Messages

  • Submitting form with Enter key

    Hello,
    in standard html form, when you have form with submit button, the enter key when any form element is selected submits the form.
    This is very convenient for users, so I want this with UIX forms. I know it is possible (I have one form where it is working), but I can't get it working anywhere else.
    This code works:
    <uix:form method="post" name="newRoleForm">
    <uix:inlineMessage prompt="Role name">
    <uix:textInput name="newRoleName" />
    <uix:spacer width="15" />
    <uix:submitButton text="Create" formName="newRoleForm" />
    </uix:inlineMessage>
    <uix:formValue name="jboEvent" value="newRole" />
    </uix:form>
    When I copy this code to another page, it does not work...
    Can somebody help, please?

    I've studied the HTML generated by UIX and it has following bugs and misfeatures:
    1. Misfeature: Submitting with Enter works ONLY if there is exactly one text field in the form (no submit button is actually needed), as Brian Stoler wrote. I don't understand reason for this.
    2. Bug: UIX generates javascript function "_submitOnEnter" which is called as event handler for "onKeyPress" event. But this function is erroneously generated multiple times, once for each form in the page. Browsers (Mozilla and IE) use the latest implementation. This function is different for forms with one text field and for forms with more text field, but only the first one can do the job. As a consequence of this, Enter can submit the form only if the last form on a page has single text field (which is for example not the case of search form with single field above another form...)
    Tested with UIX 2.1.7 in JDeveloper 9.0.3.3, using UIX as JSP tag library.
    Workaround:
    1. Use Opera browser: it submits form with enter key even if there is no submit button (this does not work for the first text field in the form, because it has "onkeypress" event handler).
    2. Implement this feature by hand yourself, if you really need it (see below).
    3. Use accessKey: allows to submit form with Alt+<key> combination (followed by Enter with IE).
    Implementing Enter key submits with Javascript:
    1. Put the following function to the header (or to javascript library):
    function enter(e, frm) {
    var kc;
    if(window.event) kc=window.event.keyCode;
    else if(e) kc=e.which;
    else return true;
    if(kc==13) {
    submitForm(frm,1);
    return false;
    Function copied from UIX (C).
    2. Add this event handler to each input element:
    onKeyPress="return enter(event, 'formName');"
    It is obvious that this is error prone, but it works with all browsers...
    Will this be fixed in future versions?
    Why only form with one text field can be submitted?

  • Does Key Filters in library settings exist in SharePoint Foundation?

    Does Key Filters and navigation hierarchy exist in SharePoint Foundation?
    keren tsur

    Hi keren,
    The Key Filters and Navigation hierarchy for library is enabled by site feature "Metadata Navigation and Filtering", SharePoint Foundation doesn't provide this feature, so it doesn't exist in Foundation version.
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/set-up-metadata-navigation-for-a-list-or-library-HA102832523.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Form of address key  is not defined - Message AM117-VL02N

    I have defined a COA for the customer when there is a PGI for that customer.
    When I do the PGI i am getting update termination error - Form of address key  is not defined.
    As per the message it says that TSAD3T - TITLE is not maintained. But I see the customer master it is maintained as 'Company'.
    Also when I remove the Title using XD02 also i am getting the same message.
    Please let me know what settings and changes i need to do for PGI to happen.

    Hi,
    check in customizing what form has been assigned and check the form. It sound like somebody created a form (SAPscript, Smartforms, Adobe Forms) for the billing document and there´s no window on it for the address or it has another name.

  • Document Library Template with Metadata Navigation and Key Filters

    When saving a document library as a template, any configured metadata navigation and key filters columns are lost. Has anyone else experienced this issue or know a viable workaround? Can anyone shed some light on why these settings are not saved with
    the template?
    Thanks!
    Wade Hunter MCP/MCTS - WSS 3.0, MOSS 2007, SharePoint 2010

    Wade,
    Did you figure out a workaround or why this happens?  I am having the same problem.
    Thanks

  • How to create tabular form whithout primary key in table

    Hi All,
    I have requirement to create a tabular form but the problem is, the table which I am using in the application don't have any Primary key, I am using only one table can't change any thing in table.(i.e can't add any row in table,no change in data model)
    How can I create tabular form when primary key is not available.
    looking forward for all of your quick responce.
    Thanks in advance.
    Dikshit Kumar Nidhi

    You can create a view like
    select a.rowid id, a.*
    from table a
    and create a tabular form on this view. You can use
    the new column ID as Primary key.Did you try to actually do this? I did at
    http://htmldb.oracle.com/pls/otn/f?p=24317:159
    And when I change something and click Submit, I get an error
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01733: virtual column not allowed here, update "VIKASA"."NO_PK_VW" set "ID" = :b1, "I" = :b2, "J" = :b3 where "ID" = :p_pk_col
    Thanks

  • VF02 - Error in Outbound Idoc - "Form of Address Key is not defined"

    Hi,
    While processing the outbound idoc in VF02, i am getting an error "Form of Address Key is not defined".
    Our system has been recently patched.
    While processing the idocs in VF02 (for the invoices created earlier to the patching date), there is no error & the Idoc gets created.
    I am not sure why i am gettting the above error now (that is after patching).
    Please let me know if i am missing something here / is it because of the patching.
    thanks & regards
    Narain

    Check Note 1002015 - RBT_ENH_VB7: Incorrect message display (AM010, AM117)
    thanks
    G. Lakshmipathi

  • Basic form help needed

    I am new to Dreamweaver 8 (but have worked with simple html a
    quite a bit) and am working on building a, hopefully, simple
    prototype for a project. What I need to do is collect user-entered
    text and user-selected dropdown box data on one page and send it to
    another for presentation there. After looking at the Help screens,
    I looked at using Session variables and it seems that is the best
    way to pass the data. Where I am stuck is in the (from Help
    Contents) Making Pages Dynamic - Creating Forms - Creating HTML
    forms help. They first say to, in step 2, Select Insert > Form
    (which doesn't do anything - you have to click another option,
    which I figured meant Form again). Then, in step 3, they say to
    "Specify the page or script that will process the form data." by
    selecting the file in the Action box in Properties. I don't have a
    file to "process the form data" and don't really know what they are
    talking about. Help!
    I originally (before I reverted to using Help) set it up with
    Insert->Form->Text Field text entry boxes, figuring this was
    a Form field that could be captured and passed on. Right? Wrong? I
    guess I thought the method would be to define a variable name
    associated with a text input field in one page, then pass it with
    the value to the next page. That is pretty much what it seems
    Session variables do (?), which I discovered when I started looking
    at Help.
    So, was I on the right track for a simple implementation and
    missed the way to capture and transmit the data, or do I need to
    use the Forms->Forms option? If the former, how do I define the
    variable names? If the later...well, I am real confused then. :-)
    Thanks for your help.
    (btw, we do have training material coming - went with
    Dreamweaver for Dummies, Peachpit Macromedia Dreamweaver 8 Hands-On
    Training "dead tree media" and TechRepublic Fast Track Dreamweaver
    8 CBT. Any opinions on those?)

    Session variables as the name suggests are created when a
    user starts a session and last till the session is open. You form
    doesn't really need session variables unless you are carrying form
    data from one page to another and need to keep it associated with
    that specific user such as in shopping cart applications.
    I have never used the dreamweaver insert form, so can't help
    you there. why not code the form yourself, especially since you
    have been using html
    The link below may help.
    http://www.w3schools.com/html/html_forms.asp

  • Sort key filters in managed metadata navigation settings in Sharepoint 2010

    Hi All,
    We have setup managed metadata navigation on our document libraries in SharePoint 2010. As part of this configuration, we have added content type as one of our key filters. However, we would like the list of content types in the drop down list in the key
    filters section to be sorted alphabetically by name. Not sure how they are sorted by default, presumably by GUID.
    Does anyone know a way to achieve this ?
    Thanks in advance.
    Damien.

    Hi,
    According to your post, my understanding is that you wanted to sort alphabetically by name in the key filters section.
    You can use a JQuery solution. The source code of the page looks like this:
    <div>
    <span>Content Type</span></div>
    <div><span dir="none"><select name="ctl00$DropDownChoice" id="ctl00_DropDownChoice" title="Content Type">
    <option selected="selected" value=""></option>
    <option value="CT1">CT1</option>
    <option value="CT2">CT2</option> </select>
    <br/></span>
    </div>
    So, you can talk to the dropdown with JQuery like:
    $(":select[title=’Content Type’]"). ;
    More information:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/8816f3ad-8bc7-4d13-aa8a-594f9281412e/sharepoint-2010-key-filters-of-content-type-arrange-alphabetically
    There is a similar thread for your reference.
    http://sharepoint.stackexchange.com/questions/29550/sharepoint-2010-content-type-in-key-filters-not-arranged-alphabetically
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Tabular Form with updateable keys??? Help!!

    I have been trying to set up a timesheet/scheduling package using my PT job as a real world framework from which to pull ideas. The job is at a concert venue.
    The idea is to be able to schedule an event, then add existing employees and add the appropriate employee to that event.
    I have the tables already setup: EVENTS which consists of 'event_name', event_time_and_date, unique_event_id(priKey), etc... Employees which is first,last,empnum(priKey),etc.... And most importantly a Schedule table which is empnum(priKey,foreign to employees), eventid(secKey,foreign(sp?) to unique_event_id), time in, time out, etc....
    Everything is great except that I cannot add an employee to an event using the Tabular Form as the empnum primary key needs to be defined by a dropdown LOV(my criterea) and the eventid needs to be defaulted to the passed in value. It seems the Form is not setup to operate that way. I have included a link to my mock-up on oracle's free HTMLDB space so that the lucky individual who decides to aide this lost soul can see what I'm on about. I have been able to do it via single drop downs, but that is one person at a time. The table is the best way visually to see who has, and has yet to be added to an event.
    http://htmldb.oracle.com/pls/otn/f?p=38803:1
    Click on schedule and choose 'Assign Employee' and click the event in January to get to the 'Add Employee' page.
    The number present on the page should be hidden but is visible for debugging purposes. It is the unique event ID that the SQL bind refers to filter the list to the event in question.
    Thank you very much,
    brux2dc

    From the trigger code I see a new PK being generated. Just so I am understanding what is going on, the new pk will in no way be used except to keep the tabular form in order.
    The data in the intersection table will look like this:
    EMPNUM(PK) | EVENTID(PK)
    1 | 1001
    1 | 1002
    1 | 1003
    2 | 1001
    2 | 1003
    3 | 1002
    The tabular form will enter data so that an already existing eventid will be associated with multiple empnums. The eventid is passed to a hidden textbox. This is where the fixed eventid comes form and the empnums become the only variable per new row.
    What should happen when I click on Add Row is that a new row appears with the eventid already set as PK1 and the LOV with EMPNUM as PK2. So before insert the screen would have:
    EMPNUM(PK) | EVENTID(PK)
    1 | 1001
    2 | 1001
    3 | 1001
    5 | 1001
    I just wanted to clarify further what my intent is. I appreciate all your help so far.
    brux2dc

  • HELP NEEDED :Button to link to form with passed key

    Hi all,
    I have a UIX view form that returns the result of the search.
    I have an update button and a delete button that find the current record and navigate to the update screen or delete the record.
    I want another button that navigates to a screen, passing the same key.
    I hope I am making sense, here is a snippet of the page :
    <header text="Results" >
    <contents>
    <form name="viewForm" method="POST" >
    <contents>
    <tableLayout>
    <contents>
    <bc4j:viewObjectScope name="ActivityPlanView1" >
    <contents>
    <bc4j:table name="viewTable" width="100%"
    alternateText="No rows found"
    proxied="true">
    <tableSelection>
    <!-- single selection for each row in the table -->
    <singleSelection selectedIndex="0" shortDesc="Select Row">
    <contents>
    <!-- the update button causes the currently selected
    row to be sent to the update page -->
    <button text="Update"
    onClick="return checkUpdate();"/>
    <!--ctrl:event="update" /-->
    <!-- the delete button causes the currently selected
    row to be removed -->
    <submitButton text="Delete"
    ctrl:event="delete" />
    </contents>
    </singleSelection>
    </tableSelection>
    <!-- the key identifying the current row in the table -->
    <bc4j:keyStamp>
    <bc4j:rowKey name="key"/>
    </bc4j:keyStamp>
    <contents>
    <formValue name="ActApp">
    <boundAttribute name="value">
    <bc4j:attrValue name="ActivityApproved"/>
    </boundAttribute>
    </formValue>
    I thought, somehow combining this into the button will do it, but I don't know how :
    <link>
    <boundAttribute name="text">
    <bc4j:attrValue/>
    </boundAttribute>
    <boundAttribute name="destination">
    <ctrl:pageURL name="AssemblyActivityAssemblyType1_Create">
    <ctrl:properties>
    <ctrl:property key="key">
    <boundAttribute name="value">
    <bc4j:rowProperty name="key" />
    </boundAttribute>
    </ctrl:property>
    </ctrl:properties>
    </ctrl:pageURL>
    </boundAttribute>
    </link>
    Thanks
    Adeel

    Somehow like this...
    bye,
    Viktor
    <bc4j:table>
    <bc4j:column...
    <bc4j:column name="Muveletek" rendered="true">
    <contents>
       <flowLayout><contents>
          <link text="Hír">
              <boundAttribute name="onClick">
                <concat>
                 <fixed text="javascript:location.href= 'PhiPrtFkViewLink_View.uix"/>
                 <fixed text="?bajaPage=key2="/>
                 <dataObject select="key"/>
                <fixed text="&amp;event=keres'"/>
              </concat>
                                              </boundAttribute>
             </link>
         <link text=....                                     </link>
                                            </contents>
                                            </flowLayout>
                                          </contents>
                                        </bc4j:column>
                                      </contents>
                                    </bc4j:table>

  • Submitting a form with enter key causing strange problems

    I am having a very strange problem with a webapp I am currently developing. I am using JSF 1.2 along with Facelets and RichFaces. I have coded a workflow/wizard 4-step process, and on some pages I have 4 submit buttons that all call different actions on the page. The users thought it would be useful to have the enter key submit the form, so I followed some online resources to trap a keypress using javascript, looking for the enter keycode and calling document.getElementById("elementName").click(). This works fine most of the time. Sometimes, though, it seems as if an entire new session is being created, and odd behavior starts happening. For example, my page will only include 2 of the 4 facelets on the screen -or- I will get NullPointerExceptions for objects that I know have been created in the session bean I am currently using -or- I will get a duplicate form Id after trying to re-submit the page. Could the javascript click simulation not be submitting all of the form elements or is the enter key also acting like its default action (the form submission) in addition to the "click"? I'm really at my wit's end here (plus it's nearly 3 AM, that never helps things). All of the buttons being clicked are standard h:commandButtons. There is some setTimeout logic included to disable the buttons on the page to prevent double clicks (I cannot disable them onsubmit because disabled buttons don't pass the right values, perhaps that's causing it, but if so, clicking the buttons with the mouse would cause that issue too, right?)
    I am not posting the code (yet), but if anyone wants to take a look see and see if I am doing something really abhorrently wrong, I'm more than willing to, I'm just curious if anyone has had problems regarding javascript submission of forms via the click() method. Clicking the button does not exhibit this type of behavior. Just as a side note: I am doing different things with the enter key depending if a modal window is open (the enter key closes the modal if it's up, and if not, it submits the form via a button click).
    Any help is much appreciated, if anyone has any inkling about where I should start looking for answers it would be really helpful.
    Thank you.

    edfrost wrote:
    Could the javascript click simulation not be submitting all of the form elements or is the enter key also acting like its default action (the form submission) in addition to the "click"?My guess is the second of these. You need to suppress the event handling after programmatically clicking the button.

  • Need Help with Advanced Filters

    I hope someone can please help A.S.A.P. my current project
    depends on getting the searches to function correctly I have found
    the Multiple Filters very useful all it needs is a little tweaking,
    I have tried but failed
    1st Main Problem
    The problem with the multiple filter it only work
    alphabetical, I need to be able to filter facilities
    for example a restaurant has up to 10 facilities I would like
    to tick the facility to show the live result
    in the DB there is either a 1 or 0 in the field, so I tried
    the following code
    this is what I am trying to achieve but with the Live
    Searches
    http://www.dinewithus.co.uk/dining/shropshiresearch.php
    var dsCounties = new
    Spry.Data.XMLDataSet("http://www.dinewithus.co.uk/new/xml/county.xml",
    "/counties/county");
    var dsLocation = new Spry.Data.XMLDataSet("
    http://www.dinewithus.co.uk/new/xml/{dsCounties::url2}",
    "export/row");
    var gEffectInProgress = null;
    var gPendingSetRowIDRequest = -1;
    function ffAH(ds, row, index){ var c =
    row.smoking_al_fresco.charAt(0); return c = '1' ? null : row; };
    function ffIP(ds, row, index){ var c =
    row.disabled_access_facilities_fac.charAt(0); return c = '1' ? null
    : row; };
    function ffQZ(ds, row, index){ var c =
    row.real_ales_fac.charAt(0); return c = '1' ? null : row; };
    function ToggleFilter(enable, f)
    if (enable)
    pvLocation.addFilter(f, true);
    else
    pvLocation.removeFilter(f, true);
    function RemoveAllFilters()
    document.forms[0]["fAH"].checked = false;
    document.forms[0]["fIP"].checked = false;
    document.forms[0]["fQZ"].checked = false;
    pvLocation.removeAllFilters(true);
    2nd Issue (not sure if possible?)
    currently using the paging example I am able to show all the
    records in different regions, the only problem is the filter Area
    is a text box I need this to be a dropdown search, fetching
    DISTINCT results from the towns filed in the DB, I managed to do
    this creating another dynamic data set DISTINCT town which showed
    all the towns but once selecting an option did not change the
    results below ideally I need something similar my county search but
    for towns the town are dynamically showing from DB but the counties
    are showing from 1 XML file
    http://www.dinewithus.co.uk/new/xml/county.xml

    That's just it. I select Library or Filters from the Window dropdown menu and neither window opens up. Could it be my 15.4" MacBook Pro screen isn't big enough to see the interface?

  • Forms Service - Function Key Mapping

    hi folks,
    i have installed oracle 9i app server rel2 on oracle8i database, using which i have deployed my application (which was developed on developer2000) with the help of forms services - provided by oracle 9ias. now, my application is running on browser. but, when i run my appliation on browser the function keys mapping like
    F7-enter query, F8-execute query was supercided by browser functional key mapping, which means i can use only the menu, i cannot use the functional keys to retrive and save data.
    is there any method or setup thro which i can bring the d2k funtional key mapping on browser.
    thanks in advance !

    hi folks,
    i have installed oracle 9i app server rel2 on oracle8i database, using which i have deployed my application (which was developed on developer2000) with the help of forms services - provided by oracle 9ias. now, my application is running on browser. but, when i run my appliation on browser the function keys mapping like
    F7-enter query, F8-execute query was supercided by browser functional key mapping, which means i can use only the menu, i cannot use the functional keys to retrive and save data.
    is there any method or setup thro which i can bring the d2k funtional key mapping on browser.
    thanks in advance !

  • CF7 - sending a form using "Enter" key

    As I wrote in the subject, i've goit a question.
    How can I send a form using the "Enter" key. When I push the
    Enter nothing happneds. Can someone help me?

    OK. My mistake. In normal HTMLform there is no problem.
    I've got the Flash form
    [code]
    <cfform name="register" format="Flash" skin="haloBlue"
    width="300" height="200" timeout="999999999"
    action="index.html">
    <cfinput type="hidden" name="skrypt" value="#skrypt#">
    <cfinput type="hidden" name="save" value="True">
    <cfinput type="Text" name="username"
    label="Użytkownik: " required="Yes" message="Proszę
    podać użytkownika" size="20">
    <cfinput type="Password" name="pass" label="Hasło: "
    required="Yes" message="Proszę podać hasło"
    size="20">
    <cfinput type="submit" name="submit" value="Loguj">
    </cfform>
    [/code]

Maybe you are looking for

  • Help with buttons on a JSP Page

    Hi All, I have a HTML page , that has certain text fields.... on entering values into the text fields, it is directed to a servlet. The servlet(puts the values into the database) then directs to a jsp with the values entered in the form. I would like

  • Append static Word file to end of 1000+ unique Word files

    Are there any tools for combining documents in a batch?  I'm automating the creation of over a thousand documents that should each get an appendix that can not be part of the original file. When I batch convert from .docx to .pdf I'd like the appendi

  • Quick questions about Macbook Pro specs...

    I am looking at the different Macbooks that Apple offers in order to decide which one to purchase. The two main differences that i noticed are as follows. Can someone please help me answer these two questions? 1. What is the difference between a Hard

  • Using Uk ITunes while living in Spain

    I am moving to spain for 2 years and currently have an UK iPhone 4 (unlocked) which I want to take with me. Over there I will use a spanish micro sim with it. But I want to know if I can still access my Uk iTunes account on my iPhone and laptop (also

  • Logo in selection screen

    hi experts , can we add logo in selection screen .   if yes the how it can be possible . Thanks And Regards .   Priyank