How to put javascript validation in the text form ?

Hi,
I would like to validate 1 of the field in the interactive form. where i can put the javascript validation script ?
f.setAction(
"Validate",
u2018AFRange_Validate(true, 0, true, 100)u2019
and also can i force setfocus() in the formal javascript in the interactive forms ? so if the validation not correct the user cannot quit from the field.
Thank You and Best Regards
Fernand Lesmana

Hi
Use the exit event.
You can set focus to the fields as
xfa.host.setFocus(xfa.form.form1.TextField);
Kind Regards
Mukesh

Similar Messages

  • How to put line break in the text

    Hi guys,
    This is a simple problem.i don't know how to concat a line break while creating a text.
    I am looping through the results of a query and want to form the text using the results.
    For each row of the resultset,I want to create a new line in the text i create.
    I was wondering how to put a new line in the text.
    I thought I can concat '\n' ,but it does not work.
    the code snippet in the procedure is :
    for c1_rec in c1 loop
    vMsg := ' There are ' || c1_rec.total ||
         ' documents of type ' || c1_rec.doc_type || '\n' ;
    end loop;
    Please give the solution.
    Thanks in advance.

    Thank you Mark.
    I tried your suggestion.But line break is not working in email.
    Here is how my code is
    in procedure 1 ,i create the message String as :
    for c1_rec in c1 loop
    vMsg := vMsg || ' ' || today_str || ' - ' || c1_rec.total ||
         ' Total inbound documents from : ' || c1_rec.target_value || CHR(13)||CHR10) ;
    dbms_output.put_line(' ' || vMsg);
    end loop;
    --here sending mail calling another procedure
    sendmail( '[email protected]' ,'[email protected]' , 'Test Subject ' , vMsg );
    In Procedure 2( i.e sendmail procedure )
    i am preparing email server connection from and to adresses .Then i am preparing and sending message as
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    conn:= utl_smtp.open_connection( EmailServer, Port );
         utl_smtp.helo( conn, EmailServer );
         utl_smtp.mail( conn, SENDER);
         utl_smtp.rcpt( conn, RECEIVER )
    mesg:= 'Subject: ' || SUBJECT || crlf ||
                   'Date: '||TO_CHAR( SYSDATE, 'Dy, dd Mon yyyy hh24:mi:ss' )||
                   crlf ||
                   'From:'||SENDER|| crlf ||
                   'To: '||RECEIVER || crlf ||
                   'Content-Type: text/html; charset=ISO-8859-1' || crlf ||
                   '' || crlf || MESSAGE ;
         utl_smtp.data( conn, mesg );
         utl_smtp.quit( conn );
    even now the mail we are getting is not having the line break.I am having line break in dbms output,but not in the mail.
    Is there any mistake how I am sending the mail.Or is there any other way we can put line break in the text
    Thank you.

  • When you create a link to a web page in numbers and we export the PDF file, the link is offset by 3 rows. Example: if I put a link on the text in cell A1, I found the link A4. In fact, this feature becomes unusable. How can we solve this problem? Thank yo

    When you create a link to a web page in numbers "Mavericks" and we export the PDF file, the link is offset by 3 rows. Example: if I put a link on the text (with Cmd-K) in cell A1, I found the link A4. In fact, this feature becomes unusable. How can we solve this problem?
    Thank you.

    Hi again Raja!
    I did as you recommended and installed HTTPWatch and below is the outcome of that program. It is the exact string with the only exception of obfuscated servernames and portnumbers. The last part that begins with "sap_ep_baseurl=" makes me suspicious, is that part really correct? It looks like it's lacking things.
    Best regards
    Benny
    http://<server:port>/sap/bc/bsp/sap/Z_PURCHASE_REQ/process.htm?
    sap-syscmd=nocookie&sap-client=200&sap-language=sv&style_sheet=
    http%3A%2F%2F<server>%3A<port>%2Firj%2Fportalapps%2F
    com.sap.portal.design.portaldesigndata%2Fthemes%2Fportal%2Fsap_tradeshow%2F
    controls%2Fcontrols_ie6.css%3F7.0.10.0.0&sap-cssversion=7.0.10.0.0&sap-tray-type
    =null&sap-tray-padding=null&sap-accessibility=&sap-ep-version=7.00.200611091758&
    sap_ep_version=7.00.200611091758&sap_ep_baseurl=http%3A%2F%2F
    <server>%3A<port>%2Firj%2Fportal&matnr=9780198603641

  • HOW TO PUT TWO PANNEL IN THE SAME PAGE

    HI ALL
    I NEED TO KNOW HOW TO PUT TWO PANNEL IN THE SAME PAGE TO FULLY UTILIZE FULL PAGE AREA BECAUSE THE PANNEL WIDTH IS TOO SMALL , SO I WANT TO MAKE THE PAPER CONTAIN TO PANNELS VERTICALLY.
    THANK YOU

    So Barb,
    I like to use multiple desktops and move back and forth between then using gestures. At the moment I have 5 open: Chrome, Firefox, Safari, Photoshop CS 6 and a desktop. I use "gestures" to navigate between them:
    Mac Basics: Multi-Touch gestures - Apple Support
    and I use Mission Control (F3) to move the various desktops around in the order I want them.
    Mac Basics: Mission Control - Apple Support
    So say I'm searching for a photo to open in CS 6, I find it on the open desktop then hit select "open" in CS 6 and go to that folder in the select pane.
    Even right now I'm typing this in Safari and "gesturing" back to Chrome where I did the search about multi touch and mission control. I drag copy the URL there  and gestured back here to paste the URL into this text.
    If you did a lot of photo searches, I set professional clients of mine in Chicago up with dual monitors (In this case you'd have an external monitor on extended desktop.). So all you need to do is just glance over at the second monitor slide your cursor over there open stuff up find your photo and go back to Photoshop and open it up.
    Hope this helps.

  • How do I print all of the text in a scrollable form field?

    How do I print all of the text in a scrollable form field?  When I print the form, the text becomes cut off based on the size of the field and displays a little plus sign in the lower right hand corner indicating more text.  I want to print all of the text.

    The form is HTML which means what you see in your browser window is what you will see in your print out.  You can, as the form author, view the submitted data in the View Responses tab and print that out.  You can also export the responses to Excel, CSV, or PDF and print that out.

  • I upgraded pages.  Now when I begin a new document I automatically have a text box.  How do I get rid of the text box so that it does not automatically appear.  What settings do I need to change?

    I upgraded pages.  Now when I begin a new document I automatically have a text box.  How do I get rid of the text box so that it does not automatically appear.  What settings do I need to change?

    Perhaps you are loading a template that has a text block already on it.
    You might try the blank template option and set that as your go to template in your preferences

  • How to create a validation for the project coding mask

    Hi,
    Would just like to ask how to create a validation for the project coding mask wherein the WBS elements hierarchy will be checked against the template saved. For example,
    project coding mask is XXXX-XXXXX-XX-X-X-X-00-X
    mother WBS should be XXXX-XXXXX-X and lower level WBS would be XXXX-XXXXX-XX.
    The validation should not allow a mother WBS to be XXXX-XXXXX-XX.
    How can we go about this?

    Hi Jacquiline Bersamin,
    You can use validation with the combination of the level and the coding mask.
    In the validation:
    Pre requisite: WBS level = 1
    Validation: Prps-posid = prps-posid :1-12:
    Message : Error
    If required you can give the parameters for your detail error message.
    Please let me know if this does not work.
    Thanks
    Regards
    Srinivasan Desingh

  • I just loaded the 'lion' now my mail takes a new life....how do i move the reading panel to the bottom / also how do i get rid of the text/content under each mail..two simple things not sure obvious on this version !!!

    i just loaded the 'lion' now my mail takes a new life....how do i move the reading panel to the bottom / also how do i get rid of the text/content under each mail..two simple things not sure obvious on this version !!!

             

  • How to put dead notes on the guitar software instrumet??

    How to put dead notes on the guitar software instrumet??

    a dead note is when you mute the chords, like on the smells like teen spirit riff

  • HOW TO PUT MOVIES BACK IN THE CLOUD ON IPAD

    HOW TO PUT MOVIES BACK IN THE CLOUD ON IPAD

    You can't put films in the cloud yourself, whether they will show in the cloud for redownloading depends upon what country that you are in, if the rights-holder allows redownloading, and if the film remains in your country's store. You can delete a film from your iPad via the Edit button at the top right of the film select ion screen in the Videos app or via Settings > General > Usage > Videos (that should also give you an Edit button top right of the screen or you can swipe/drag across a film form right-to-left) - but the film might not then show in the cloud for redownloading. If you haven't already done so you should connect the iPad to your computer's iTunes and do File > Devices > Transfer Purchases so that you can take your own backup copy of your downloads (apps, ibooks etc could also be removed from the store and not be redownloadable in the future).

  • How to put a check with the date

    Hi,
    I have created a ztable with 3 fields .
    clientcode(3),
    date,--date geneated
    version--- fileversion
    i need to update this table everytime i execute the data. Every time version shd get incremented when i execute the program.  When i excute the program next day version shd be updated by '1'.
    i wrote the code for version updated i'm not getting the logic how to put a check with the date.
      SELECT *
       FROM zfi_enetflver
       INTO TABLE gt_flver.
      SORT gt_flver DESCENDING.
      CLEAR: gv_dt, v_file.
      CONCATENATE sy-datum6(2) sy-datum4(2) INTO gv_dt.
      READ TABLE gt_flver WITH KEY client_code = gv_clcd.
      IF sy-subrc = 0.
        idx = sy-tabix.
        IF gt_flver-zdate = ' '.
          gt_flver-zdate = sy-datum.
        ENDIF.
        IF gt_flver-version = ' '.
          gt_flver-version = '001'.
          gv_filever = gt_flver-version.
          MODIFY gt_flver INDEX idx TRANSPORTING zdate version.
          MODIFY zfi_enetflver FROM TABLE gt_flver. "TRANSPORTING version.
          CONCATENATE 'E:\' 'ENET\' gv_clcd gv_dt '.' gt_flver-version INTO v_file.
        ELSE.
          gt_flver-version = gt_flver-version + 1.
          gv_filever = gt_flver-version.
          MODIFY gt_flver INDEX idx TRANSPORTING version.
          MODIFY zfi_enetflver FROM TABLE gt_flver .
          CONCATENATE 'E:\' 'ENET\' gv_clcd gv_dt '.' gt_flver-version INTO v_file.
        ENDIF.
      ENDIF.
    clientcode is the key field in ztable do i need to make date field key ??
    please help me with the logic

    You need to implement below logic:
    1. check if field_date = sy-datum. in this case do nothing.
    2. else . move sy-datum to field_date .
    3. modify your internal table with field_date .
    4. populate final table to database table .
    hope you get it.

  • Text in fillable text form gets cut off and appears only in the lower half of the text form?

    I'm trying to create a text-fillable PDF form. However, when I add a text form, the text I test in it gets cut off and appears only in the lower half of the text form by default (see 2nd photo below). How do I correct this and make the text take up ALL the space in the form like the 1st photo?

    Have you set the text field properties options to multiline? Is so, please attach a screen shot of that dialog box so we can see how it is set.

  • How to bring status icons in the Adobe Form.

    Hi Experts,
    I am new to Adobe forms and I need to bring a icon indicating the satus ( For example green icon shoud be displayed if the values exceed our expection ) . Currently if I try to bring an icon in the form it is just displaying the text value corresponding to the icon even though the icon is of data type  ICONTEXT (For Example:Instead of displaying a icon in green it just displaying the corresponding text values like '@@4' ) . When we try to display the same icon in the table view it is displayed in a form of image.
    Kindly let me know how to bring status icon in the adobe forms.
    Thanks in Advance.
    Regards,
    Nandha

    Hi,
    The ADS will not understand this as an icon and create it on the PDF. If you want to insert an icon in the
    PDF you should insert it as an image in the Designer.
    Arun

  • How to add new fields to the system form (Ex.expenses to a/r invoice form)

    hi
    can any one tell me how to add new fields to the system form (Ex.expenses to a/r invoice form)
    i want to add expenses field to system a/r invoice form and connect data base also.
    i used the code of samples\11.system form manipulation(vb.net) but i'm not able to get it....so can any one help with code or concepts.
    reply soon plz..
    thankQ

    If I understood you correctly, you are just trying to add new fields to the invoice form and then use them in your form. you should first go and add the field to your tables, which you would do by going to Tool --> User Defined Fields --> Manage User Fields. There are different documents or categories given. For ex. for invoices, Sales Orders you would add your field under the Marketing Documents. If you want the field to be just one per invoice, add it to the Title, otherwise if you want a field per invoice or Sales Order line, add it to the Rows section. Once you have done that then you can just create a edit box or drop down to represent the field and set the datasource for that to your field. If you want example code to do that, let me know.

  • How to provide security settings for the adobe form using livecycleDesigner

    Hello,
    I am very new to form designing,
    can any one please tell me how to provide security settings for the adobe forms at client side?
    Regards,
    Menaka

    Hi,
    that is a good topic for the ADFS forum.
    ADFS forum - http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    But you could pass the user-agent as incoming claim type Client User agent. User-agents can be manipulated, so if that is an issue you can look into Device Registration and the Device OS type from there. That is also a incoming claim but requires DRS and
    DRS is not available for all plattforms.
    Hth,
    Lutz

Maybe you are looking for

  • Creating a contractor custom form and workflow associated with it OIM11g

    we are using OIM 11.1.1.5 we need to implement a scenario where, A Manager or user in admin role creates the contractor using customized form and manager gets the contractor gets the creadentials of contractor and then contractor logs in OIM self-ser

  • Can't send or receive email from one account

    Just bought the iPod Touch last week. Set up Hotmail account with no problems. However my MacDialup.com account (used to be dial up, but is DSL now) won't work at all. They aren't set up to use SSL, so I turned that off after the iPod automatically t

  • Lightroom 4 importing cases program to crash

    There are no warnings other than a dislog box in windows 7 to pop up and say there is a problem we will let you know when a solution becomes available. Then Lightroom closes. No error code or other identifers. Unistalling and reinstalling lightroom 4

  • Windows 8.1 Installation Issue

    I am upgrading my Windows 8 to the new 8.1 to my Toshiba Satellite C855.S5115. Before the installation is complete, I get a message informing I have to uninstall two Apps: The Toshiba Disc Creator and the Microsoft Security Essentials. At first there

  • Starter kit 2.0

    Hi, I am having some trouble with the daNI starter kit 2.0 robot. It is not detected by MAX or anything else, does anyone else ecountered this problem? Thanks Stefan Solved! Go to Solution.