Table fields Validation in online adobe form WDABAP

Hi,
I have a table in Online Adobe form, and one of the field in the table is Check Box, if the check box is selected the next field(with in the same table) should be left blank else it should issue some error like leave blank.
Can some one tell me how to to do this using javascript?
Ravi

Ravi,
For eg:- Lets assume you have a table name Table1 with 2 rows (Row1 and Row2) & 3 columns.
Row 1 has three cells --> Cell1 (which contains check box), Cell2(InputField which needs to be kep blank), Cell3( Assume its a numeric field)
Similarly Row 2 has three cells --> Cell1 (which contains check box), Cell2(InputField which needs to be kep blank), Cell3( Assume its a numeric field)
So the hierarchy will be
Table1
|--- Row1
    |-----CheckBox1
    |-----Cell2
    |-----Cell3
|--- Row2
    |-----CheckBox2
    |-----Cell2
    |-----Cell3
Now write following code in JavaScript in the change event of CheckBox1.
var currVal = Table1.Row1.CheckBox1.rawValue;
//xfa.host.messageBox("Current Val is : "+currVal);
if(currVal == 1) // Means checkbox is selected
     xfa.host.messageBox("Please Leave Next Field blank");
       Table1.Row1.Cell2.access = "readOnly";
else
     Table1.Row1.Cell2.access = "open";
Similarly, you need to write code for CheckBox2 of Row2.
Chintan

Similar Messages

  • Search Help Online Adobe form WDABAP

    Hi,
    How to get F4 help in online adobe form? If the values are maintined in the domain then in the form Im able to see all the values by using Enumarated drop down. But if for the particular filed any Value Table is assigned , then how to get those values in F4 of Adobe form? It can be done by binding to UI elemtn or Do I need to do any coding for getting this?
    Actually I have gone through few links in SDN but Im not clear. Im not working on ISR. It is a normal BAPI and adobe form is designed based on that form , ZCL type.
    Appreciate your help
    Regards,
    Ravi

    Its solved Thank you
    Regards,
    Ravi.D

  • Search Help in online adobe form WDABAP

    Hi,
    How to get F4 help in online adobe form? If the values are maintined in the domain then in the form Im able to see all the values by using Enumarated drop down. But if for the particular filed any Value Table is assigned , then how to get those values in F4 of Adobe form? It can be done by binding to UI elemtn or Do I need to do any coding for getting this?
    Actually I have gone through few links in SDN but Im not clear. Im not working on ISR. It is a normal BAPI and adobe form is designed based on that BAPI and form is ZCL type.
    Appreciate your help
    Regards,
    Ravi

    Hi,
    please see the link below
    link: F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    link:F4 help in Interactive forms with Webdynpro abap
    link:F4 Value help on adobe form doesn't work
    link:Search Help from SAP values using WebDynpro ABAP in ADOBE Interactive Form
    regards
    Pranav

  • How can i create validation Checks in Online Adobe Form

    Hi Gurus
    i am trying to create Online Adobe form.how can i do the validation checks while the user enter the values in Adobe form (For Ex: lets take personnel Number if the end user enter the personnel number it must go and  check the Data base table , if its right personnel number then processes next value or if its not right personnel number then it must show the error message).  please help me.
    Thanks in Advance
    Edited by: Reddy on Nov 24, 2011 10:08 AM

    HI Reddy,
    I think you can use either  'Submit' button or  web service for the validation. When we use the web service then it will work in offline mode also(user has to be on intranet - either via remote connectivity using VPN or office network) .
    if you are going for 'Submit'  and If you want to validate the number when the user enter value, then write the code in 'Exit' event  .
    Write the below code in the  event.
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    This code will trigger the submit event in the web Dynpro component.
    Hope this will helps you.
    Regards
    Shaira.

  • Strange error in online Adobe form for the date field

    Hi Experts,
    I am facing strange problem with online Adobe forms. I could able to save data when i click save button on the form.
    But some times in the form the date field is throwing error message 'MMDDYYYY field is invalid' when i click on save button.
    Is this the problem with versions of Adobe liveCycle designer, Adobe reader or GUI?
    Thanks in advance,
    Ram

    Hi
    Check the format (in the object pallete) of the date field in Adobe liveCycle Designer, If it is not set already set it according to your requirement. then see if it works
    Hope this helps
    Regards
    Amita

  • Online Adobe forms in Guided Procedures

    Calling SAP GP experts,
    Has anyone been able to successfully implement online Adobe forms in a Guided procedures. If yes, can you share tricks involved..
    The objective is to throw open an online Adobe form to the user to fill in.. The Adobe form will have pre-filled data (from previous Actions in the GP) and there will be the Approval process step after the form is filled...
    Cheers
    Nitesh

    Dear Alan,
    Yes i have generated the form's submit URL... It works fine when the pdf is saved in the users desktop and upon clicking the submit button it kicks of a Process with a Visual Approval callable object..
    However my requirement is that the Adobe form be submitted online during GP runtime.. The process is initiated by the User in the portal (not offline) who wants to put in a request. When the user initiates a process an Adobe form is opened to him in which he fills in his request. This request is then <b>forwarded for Approval</b>.. After Approval a digital signature need to be attached to the document and further on it needs to be sent out to other User Groups.. In case the request is <b>rejected</b> then the control goes back to the requestor who can either modify his request and send it again for approval or simply delete the request.. Throughout the whole process Print of the request can be taken at any time. Considering the requirements of Print & Digital signature i think using Adobe would be the way to go.. What do you think about implementing such a requirement in GP with Adobe UIs? Is it the right way of going about it?
    Quite an interesting nut to crack.. Ain't it ??
    Cheers
    Nitesh

  • Online Adobe Form scenario

    Hello All,
    I have developed an Adobe Form integrated within a Webdynrpo (for ABAP) View. This form can be launched from the portal.
    Now I have been given a requirment that the form needs to be routed to 2-3 persons for approval and then submitted (or processed in SAP). The approving personnel will look at their UWL on the portal and approve/dissapprove.
    I do not have much hands on experience on the Online Adobe forms with workflow scenario as above. I am looking at solutions such as ISR or Guided procedures. Guided procedure seems to be working only with WDN Java not ABAP. Please correct me if I am wrong.
    I will really appreciate it if anyone can advise as to how I need to proceed here.
    Thanks in advance, Liz

    Hello,
    I have no experience with GP (and don´t know anybody who has, if you would choose the technology and be able to create a thing using it, I would really appreciate if you could share your sources and describe the solution fur us here). And I think that is for WD Java (or designed from NWDI, or something like that).
    For a start with GP I have found this:
    I have no experience with ISR either. But (correct me if I am wrong) I think that is a little old framework, which is now replaced (i hope it is) by HCM PF. I would love to learn that, but have never found neither time nor a colleague to start.
    I remember I have found some useful things about HCM PF here:
    http://help.sap.com/saphelp_erp60/helpdata/EN/42/f273461e5132c3e10000000a1553f6/frameset.htm
    (there is the tutorial, last in the left menu)
    Hope that helps, Otto

  • Hi gurus how to provide the table field validations

    hi gurus how to provide the table field validations , plz help me

    Hi,
          Say you need to provide valdiation for WERKS(Plant) field.
    Goto SE11. Find the domain of the field. (Say WERKS in our case.) now goto the domain, click on value range. Now at the bottom you will find the value table. Note this table (T001W).
    In your report, at selection screen, you need to validate the field against this table. like this
    At selection-screen,
    select single werks from T001W where werks = p_werks.
    if sy-subrc NE 0
    message e000 with 'Plant not found'.
    endif.
    Reward points if useful.

  • Can i attach attachment to Online Adobe Form

    Dear all,
       is it possible that i attach files ( eg, excel document, word document, image etc ) to a online adobe form and later store the attachment to a server? Please give me a brieft idea if this can be done. thank you
    Regards,
    Joan

    Hi,
    the attachments are part of the PDF. The ADS can extract and return them. It is up to you what to do with the attachments received from ADS:
    - Store in DMS
    - Do something other
    Take care,
    Thomas

  • Data Validation in Offline Adobe Form

    Hi,
    I need to validate some data through SAP tables in offline Adobe form .Please let me know how do we acheive this.
    Ricky

    Hi Liz,
    Thanks !
    First For populating data into Adobe Form we need to create a Webservices or what else.
    Second My validation included Material Numbers,Serial Numbers etc.
    About the requirment.........I have to send a offline Adobe form to person and he/she will make entries into that form (No Connection through SAP System ).
    Then after it will revert to respective person for further edition and submitted to SAP System(SAP Connected)
    Please advise the same.
    -Ricky

  • Executing a WebService in Online Adobe Form

    Hi All,
    I am facing an issue while executing the webservice from an application developed inWDJava, that contains an Adobe Form. This Adobe Form is required to execute webservice, and this form has 2 input fields say First Name & last name. When i fill in the first name and last name fields in the application itself and attempt to execute the webservice, i don't get my response fields back.
    But in case i download my form from that WDJava online application, and then try to execute the service, i get back the results.
    *I am using Adobe Designer: 8.0
    Adobe Reader: 9.0*
    Any pointers to this..??
    Any ideas would be helpful.
    Thanks,
    Amita
    Edited by: amita arora on Mar 26, 2009 8:41 AM

    Call the webservice, and use the call to fill up a variable. It will then drop the return value, be it a structure or whatever into your local variable. Like this :
    var response = SOAP.request ({
         cURL: url,
         oRequest: request,
         cAction: "http://adobe.com/ES/GetMaterials",
         oAuthenticate: authentication });

  • Hiding the some fields in print PDF adobe form

    Hi all
    Im working on travel expense form in webdynpro ABAP.I have a requirement of hiding some field in the  adobe form.Can anyone tell me how to proceed ?
    Thanks and Regards
    Reeha

    Hi Reeha,
    In case you need to use any script you may prefer formCalc script, which is very easy to use. You can use any script out of the two as per your understanding and comfort level.
    If you require more technical information about FormCalc, refer to the Adobe XML Forms Architecture (XFA) Specification, version 2.4, available from:
    [http://partners.adobe.com/public/developer/xml/index_arch.html.]
    and
    [http://help.adobe.com/en_US/livecycle/es/FormCalc.pdf]
    Hope this helps you
    Regards,
    Gaurav Bhardwaj

  • Test inside  the table is truncated when integrating Adobe forms with WD4A

    Hi All,
    I am facing issue in table when integrating adobe forms with web dynpro for ABAP.
    Whenever the pagination happens the text in the table row cells is truncated and it starts from next row in next page. Is there any properrty of table in Form builder which I can use to allow the test to go to the next page?
    Best Regards,
    Arti.

    Hi. You should place your question in "SAP Interactive Forms by Adobe" forum. You will get advice quicker there.

  • Vb script to get fields name of SAP adobe forms

    hi
    is there any way to get and set fields of SAP adobe forms embedded in SAP portal

    I think when I tried to process each PC name from text file against registry key value, above code not working. As per my knowledge some issue in loop. Do I need to add FOR EACH feature? 
    Please help to correct it. Thanks in advance.
    Your code contains numerous errors. Furthermore you make things difficult for yourself by giving similar names to the objects used for your input and output. If you are a systems administrator then your best bet is to make an effort to learn the language
    instead of grabbing a few code fragments from here and there and hoping that somehow they will work.
    Try the cleaned up code below for this particular project. Note the consistent code indentation. It helps you enormously when trying to understand the structure of the code. Remember also that you must fully qualify all file paths. Writing to "Destination.txt"
    will cause endless confusion because you never know for sure where this file will reside.
     Const HKEY_CURRENT_USER = &H80000001
     Set oFSO = CreateObject("Scripting.FileSystemObject")
     sKeyPath = "Environment"
     sValueName = "LSFORCEHOST"
     sFile = "D:\Test.txt"
     If oFSO.FileExists(sFile) Then
       Set oInput = oFSO.OpenTextFile(sFile, 1)
       Do While Not oInput.AtEndOfStream
         sComputer = oInput.ReadLine
         If Trim(sComputer) <> "" Then
           Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
             & sComputer & "\root\default:StdRegProv")
           oReg.GetStringValue HKEY_CURRENT_USER,sKeyPath,sValueName,sValue
           Set oOutput = oFSO.OpenTextFile("D:\destination.txt",8, True)
           oOutput.WriteLine sValue
           oOutput.Close
        End If
      Loop
      oInput.Close
    End If

  • Accessing Form context fields in javascript in Adobe forms

    Hi,
    I want to hide some elements in the Adobe form with respect to the value of a Form context field.
    If this field is mapped to an element in the Form layout then we can access it using data.<field>.rawValue, but this field is not mapped to any element on the layout.
    Please help me if anyone knows it.
    Regards,
    Jashua

    The coding you are showing is FormCalc used by LiveCycle Designer.
    This is the forum for Acrobat Acrobat forms, there is a separate series of forums for LiveCycle Designer. If you are using LiveCycle Designer please post in the appropriate LiveCycle forum.

Maybe you are looking for

  • Sound works when testing, but not when uploaded

    I used the Behaviors pallet to stream my mp3 files, and it works fine when tested locally, but as soon as I upload everything and test it online, nothing plays. The site is www.spidersandsnakes.net/media08.htm. Any ideas?

  • ITunes unexpectedly quits

    Hello everyone, When I open iTunes, after about five seconds it unexpectedly quits. For those five seconds, I can play music, it recognizes my iPhone 4 and iPad 2, and I can click through menus/playlists like normal. But like clockwork it then quits.

  • Download Button in OVI is disable in my N96 mini

    HI, From last few weeks when i am trying to downlaod and app from OVi,  its showing download button as disable. I search n this forum, but this issue is which is discussed here was related to re-downloading the apps. FOr me when even i am trying to i

  • Downloading PS Elements 10 a second time?

    I don't seem to be able to download the PS Elements 10 a 2nd time.  I bought it last June and successfully downloaded it then.  I have new computer now and want to download again for that one.

  • A question about Enumeration()

    i am a beginner in java,resently i met a question about Enumeration(),and i hope someone can help me. my question is that in the package of java.util there is an interface called Enumeration and there are two method hasMoreElements()��nextElemen() in