How to do data validation before the submit by email

I am developing an offline interactive form. There is submit button inside, which should check all data and submit the form by email if checking passes.
My problem is that I can not cancel the submit event when the checking failed.
I use Adobe LiveCycle Designer 7.1.3284.
If I use Email Submit Button, I can do validation in presubmit event. But I can not cancel the event. Even there is error in validation, form is submitted anyway.
If I use normal button, I can do validation in Click event. But I can not submit form with code.
Is there anyone who has experience on this issue?
Best Regards,
Jun

in that case, you can code just one line in the change event of all fields of the form
xfa.form.form1.....button_validation.presence = "visible"
xfa.form.form1.....button_submit_by_email.presence = "hidden"
After click of validate button,
if validation is successful,
xfa.form.form1.....button_validation.presence = "hidden"
xfa.form.form1.....button_submit_by_email.presence = "visible"

Similar Messages

  • How to fix problem of bypassing the submit button validation by pressing the space bar in the required fields. this occurrs in the internet explorer and chrome browser, but in foxfire.

    How to fix problem of bypassing the submit button validation by pressing the space bar in the required fields. This occurs in the internet explorer and chrome browse but not in foxfire

    How to fix problem of bypassing the submit button validation by pressing the space bar in the required fields. This occurs in the internet explorer and chrome browse but not in foxfire

  • How to setup data validation mechanism

    Hi, gurus,
    Now our customer wants to do data cleansing before loading data into infocube or ods, the source system includes R/3, flat file, and some legacy systems. However the client wants to create a staging area to keep incoming data, and develop some programming to check data validation. The specific requirement is as following:
    1. Provider a user interface to let biz man to correct the error record;
    2. can code logic to check the data rejection reason, such as field type is wrong, master data doesn't exist, and etc, and can prompt these reason message to assist business guy correct;
    They want to create a specific staging for data cleansing purpose, and because refer to my prior experience with some ETL tools, we can ask developer to write embeded program in informatica or datastage to check data quality and write down the rejection reason in a file to assist business man correct;
    so if we want to use SAP BW PSA for this purpose, is it feasible? Can we modify PSA to add one column, 'rejection reason' and add some ABAP program here; or you guys have some other good options for this function.
    and can we use PSA to keep all data for 5 years? because the annual delta data is not very big, just 4G.
    Someone suggests to create Z table in BW system for staging purpose, however this solution can not use BW ETL tool to load data but need heavy ABAP programming, so any good solution on this?
    BTW: can I modify PSA structure to add 1 or 2 column, such as reject reason?
    and how to use abap program to access Characteristics master data? are there any function module to read master data directly rather than select data from P table or T table?
    Regards, ls

    I think if the business guy is given some basic BW training and some aspects about correcting PSA records or adding or loading missing master data,then it can work.
    The BW monitor does give you good enough messages about the data load errors.
    I do not think it is good to modify the PSA..because this is against purpose of having PSA.PSA has records in transfer structure format,as sent by source system.
    PSA is often preserved for data reloads that might be needed some point in future.
    As u r saying that annual record load is not big,u can preserve PSA and then later develop a custom program to delete PSA's older than..say 2-3 years..(there might a std program for this).
    Modifying or adding columns to PSA is not general practice.
    For reading master data maybe u can use this fn module..RSAU_READ_MASTER_DATA.

  • U201CValid Tou201D date set before the date that the report is run u2013 print u201Cnullu201D.

    Hi Experts
    I had a requirement for  the Query, when we executing the through slection screen we will be giving 0fiscyear "from and to" dates. the "Valid to" (0date)  has to check the relation of the Client partner and contract of relationship, if it is within the current date it should dipslay the report with values , if it is out of current date, it should display in the report as "null".
    Logic : This report is based on the u201CClient Partneru201D and the u201CContact ofu201D relationship. If any of these relationships have a u201CValid Tou201D
               date set before the date that the report is run u2013 print u201Cnullu201D.
    Could anyone of you provide the inputs on this.
    Thanks in advance
    Thanks
    Sekhar.P

    IvanLevo wrote:
    Could not find the /Library/Startup Items.
    Good, it shouldn't be there.
    For your Dock problem,
    Go to your Finder "Go" menu choose "Go to Folder" and enter ~/Library/Preferences. Then delete these files then restart or log out and back in.
    com.apple.Finder.plist
    com.apple.dock.plist
    com.apple.dock.db
    com.apple.dock.extra.plist
    Let us know

  • How to check data type of the field symbol at run time

    Hi,
    My code is as following:
          LOOP AT <fs> ASSIGNING <wa_covp_ext>.
            ASSIGN COMPONENT 86 OF STRUCTURE <wa_covp_ext> TO <f_zzname>.
            IF sy-subrc = 0.
              ASSIGN COMPONENT 158 OF STRUCTURE <wa_covp_ext> TO <f_pernr>.
              IF sy-subrc = 0.
                  SELECT SINGLE sname INTO <f_zzname> FROM pa0001
                                WHERE pernr = <f_pernr>
                                AND endda GE sy-datum
                                AND begda LE sy-datum.
             ENDIF.
          ENDIF.
        ENDLOOP.
    This query is giving dump when <f_zzname> is type P length 8 and decimals 2, because it tries to put PA0001-sname into it which is type C length 30. So I want to check the type of <f_zzname> before the select statement. If it is character 30, then I will write the select statement else not.
    How to check data type of the field symbol at run time? If it's not possible, then can somebody suggest a workaround? Thanks.

    check this ...
    write describe statement  ...
    field-symbols : <f_zzname> .
    data : sname like pa0001-sname,
           typ(10).
    assign sname to  <f_zzname>.
    describe  field <f_zzname> type typ.
    write : typ. <-- typ contains character type in this case ..
    U can check if typ is of character(C) if so .. write the select statement ...

  • Running validation before the 'save as' script

    Hi
    I'm looking for a steer on how to run form validation before implementing the 'Save as' script - is this even possible??
    Basically I want the save as script to run in the click event of my newly formed save button only if the validation script returns a positive value i.e. all mandatory fields are completed, I've used the script below:
    if 
    (form1.execValidate()== "false"){
    app.execMenuItem("SaveAs");
    Any chance someone could point me in the right direction or am I barking up the wrong tree?
    Thanks

    got it to work: my script was wrong, it now looks like this:
    if 
    (form1.execValidate()== true){
    app.execMenuItem("SaveAs");

  • How do I change the submit to email address?

    I have made a form in Adobe Acrobat X Pro, and initially I wanted the form to be sent to one email and I entered it in, but now that person is no longer accepting the forms and it needs to be routed back to me. Unfortunately, I cannot seem to figure out how to change the submit to email address. Even when I try and make a new form, the other email autofills itself. Any help would be great. Thank you.

    Thank you.
    I actually found what I was looking for. Here is the answer:
    http://www.sokolconsulting.com/blog/?p=14

  • 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

  • How to display data elements in the tempalte header

    Hello friends
    i've this date_from and date_to parameters which are date parameters that user enters..
    based on these date parameters I want to display them in the header as
    day of date_from(for example if the date_from is 13-nov-2010.then I should display 13)and for date_to it should dispaly as 15 if for example the user enters
    16-nov-2010.(date-1's day)
    so it should break down to
    date_from-13-nov-2010, 13
    date_to- 16-nov-2010, 15
    I want these two values to be displayed in the header of the template how to do this
    pls help
    also let me know how to display data elements in the template header
    Edited by: erp on Dec 22, 2010 12:44 AM

    Hi Ananth..Thanks for ur timely reply
    Can I use it with <? substring(':date_from',1,2)?>
    where date_from is an input parameter which user enters at the run time of the report.
    I've to capture the date entered by the user and print it in the header..
    Pls reply

  • Somehow I lost the drop down box to put the e-mail address in for the "Submit by Email" button. How do I get that back?

    Somehow I lost the drop down box to put the e-mail address in for the "Submit by Email" button. How do I get that back?

    Awesome. I REALLY appreciate this. Everything you said directed me to do all the right things. Thanks again. It really is nice not to have to type in my e-mail each time I log in to my frequently-visited sites.

  • How to keep data integrity with the two business service in OSB 10.3.1.0

    How to keep data integrity with the two business service in OSB 10.3.1.0
    In our customer system, customer want to keep data integerity between two businness service. I thinks this is XA transaction issue.
    Basing customer requirment, I created a testcase but I can't keep data integerity, For detail information, please refer the attached docs.

    Can you please explain what you meant my data integrity in your use case?
    Manoj

  • Checking the master data automatically before the payroll run...

    Hi Friends,
    Can anyone tell me that, is it possible to check the master data automatically before the payroll run.
    If any user forget to maintain any important info-type ( like Cost Distribution ) in time of master data maintenance, SAP allow the Payroll system to run the payroll for that employee. Only in time of account posting the user is able to know the problem and due to rectify the problem they have to delete the payroll.
    So, I therefore wants to know that is there any check point or can customized any such things, which will check the necessary info-types before running payroll and generate an error massage about the missing info-type and also skip the processing for that person.
    With regards,
    Diptendu

    have
    a look at this report
    but before that make sure wht are the mandatory infotypes that are maintained to the employee so that u can come to an idea what are infotypes that are maintained for the memployee
    se 38   HTWLINFO  read the documentation of the is report mmight be useful

  • How to do data validation after each load

    Hi all,
    How to do data validation after each load.
    please send to : [email protected]
    bhaskar

    Hi Bhaskar,
    Check these posts:
    Re: Validation of data in BW?
    Re: validate data
    Bye
    Dinesh

  • How will my data Secure in the cloud

    how will my data Secure in the cloud when i take the membership with them

    Please read the Data security section of the Creative Cloud FAQ here http://www.adobe.com/products/creativecloud/faq.html#data-security.

  • Export only specific data in XML with Submit by Email button

    I have created a form with multiple subforms that includes user input and calculations. One of these subforms contains fields that are bound to a MS Access database to retrieve data for calculations. All of the fields on this subform are bound to the data connection. The data connection, calculations, and submit by email button all work perfectly. My only problem is that the XML data that is being exported includes the data I bound to the MS Access database. I only want the data that the user inputs. I have changed the binding to "none" on all of the calculated fields to restrict them from exporting.
    I have attached a copy of the XML file that is generated when the "Submit by Email" button is clicked. I only want the data from the "YTDIncStmt" subform to be included in this file. The "MasterData10K1", "MasterData10K2", and "MasterData10K3" are the actual data connections to the MS Access database.
    How do I limit the export to only the data the user input?

    I have the very same problem! I am importing data from MS Access and trying to export XML data that I can sync with Quickbooks. But the XML file contains some of my binded MS Access fields, which Quickbooks doesn't know what to do with, and rejects my xml files. I am also looking for a way to submit only selected XML data.  You ever find a solution/work around?

Maybe you are looking for