PDF Form Mandatory Field Validation Issue in Workspace

If we open a PDF Form with mandatory fields (e.g. Mortgage-Prebuilt sample PDF form) in Workspace and then click the Workspace Complete button without completing the mandatory fields, there will be mandatory validation check which will highlight all the mandatory fields and display the mandatory fields error message dialog box.
However, if we click the Workspace Complete button again afterwards, the mandatory fields error message dialog box will not be displayed. The dialog box will be displayed only if our mouse is moved to any active/enabled fields/buttons in PDF form.
Does anyone encounter this strange issue before?
Kindly advice what should we do to solve this issue.

Hi Patrick,
As this is the modal popup, there is a close button .
Now in the ACTIONS tab try to create an action for CLOSE.
Once you get the window reference,
wd_comp_controller->gref_w_popup_split type ref to IF_WD_WIINDOW.
SET_ON_CLOSE_ACTION
SET_CLOSE_BUTTON
CALL METHOD wd_comp_controller->gref_w_popup_split->set_close_button
        EXPORTING
          close_button = abap_true.
      CALL METHOD wd_comp_controller->gref_w_popup_split->set_on_close_action
        EXPORTING
          view        = wd_comp_controller->gref_v_controller_split
          action_name = wd_assist->gc_close_split.
   "Action Name
In the CLOSE action -
IF wd_comp_controller->gref_w_popup_split IS NOT INITIAL.
      CALL METHOD wd_comp_controller->gref_msg_manager->clear_messages
        EXPORTING
          including_permanent_msg = abap_false
          only_permanent_msg      = abap_false.
      CALL METHOD wd_comp_controller->gref_w_popup_split->set_close_in_any_case
        EXPORTING
          close_in_any_case = abap_true.
      CALL METHOD wd_comp_controller->gref_w_popup_split->close.
    ENDIF.                      "   if wd_comp_controller->GREF_W_POPUP is not initial.
Regards,
Lekha.

Similar Messages

  • Mandatory field validation on Page links.

    We have created a Portal application where we included different applications as taskflows. We have also created a tabbed interface which helps us to communicate from one task flow to another taskflow. When we are in one page of taskflow and try to move to another page of different taskflow using tabbed interface we receive mandatory field validation error which prevents us to move to any other page until we fill all the mandatory fields. We need to move to different page of taskflow by using the tabbed interface even without filling all the necessary mandatory fields. Can anyone help us to resolve this issue as this is very important for our project.

    <b>Layout</b>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Check Pernr " >
        <htmlb:form>
          <htmlb:textView text   = "Personnel No."
                          design = "EMPHASIZED" />
          <htmlb:inputField id    = "pernr"
                            value = "<%= lv_pernr %>" />
    <%
    if lv_no_pernr = 'X'.
    %>
    <script language="Javascript">
    alert ("Personnel no. is not Valid")
    </script>
    <%endif.%>
       </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b>ONINPUTPROCESSING</b>
    DATA: l_pernr TYPE persno.
      DATA: data TYPE REF TO cl_htmlb_inputfield.
      data ?= cl_htmlb_manager=>get_data( request = runtime->server->request
                                             name     = 'inputField'
                                             id       = 'pernr' ).
      IF data IS NOT INITIAL.
        l_pernr = data->value.
      ENDIF.
    CLEAR lv_no_pernr.
    SELECT SINGLE pernr FROM pa0000 INTO l_pernr WHERE pernr EQ lv_pernr.
    IF sy-subrc NE 0.
      lv_no_pernr = 'X'.
    ENDIF.
    <b>PAGE ATTRIBUTES</b>
    lv_no_pernr     TYPE     FLAG
    lv_pernr     TYPE     PERSNO
    hope this helps.
    A

  • Mandatory field validation error occurs when user cancels out of blank "cre

    Hi - I'm building an application using Oracle 10g 9.0.5.2, with ADF/UIX/Struts.
    I followed the technique described in the tutorial
    http://otn.oracle.com/obe/obe9051jdev/uixtutorial/lesson_uix.htm
    In that example they have a page called BrowseDeptEmp. On this page is a
    create button, which is linked to a /createEmpAction before displaying the
    FormEmp uix page, where the user is supposed to enter new employee data.
    So I did the same thing, but I added a cancel button on the FormEmp.uix page.
    If the user presses cancel on the FormEmp page, it goes through a 'rollback' DataAction (with a rollback operation dragged on it) and then back
    to the main page.
    here's my problem:
    If the user
    1. clicks the create button on the BrowseDeptEmp page
    2. Sees the blank form in the FormEmp page
    3. Changes his mind (does not want to add a new employee) and clicks cancel
    The FormEmp page displays validation errors on the fields that are mandatory in the DB! So the user
    can't cancel out of the create page unless he fills in the mandatory fields...!!
    How do I cancel out of a create page 1) without entering any data on the page and 2) without getting
    mandatory field validation messages?
    It must be simple but i can't figure it out....
    Please help :)
    Thanks
    Des

    I don't understand how this can happen if the user has not entered any data.
    Is there a commit action somewhere that is being triggered before the rollback?
    is your cancel button a submit button?
    one way to fix this is to convert the submit button into a
    regular button and have the regular button go directly to your DataAction (the one with the rollback).
    you can automatically create this button by drawing a pageLink from the page to the DataAction in the page flow diagram.

  • I have created a PDF form with field but for some reason I cant type in them

    I have created a PDF form with field but for some reason I cant type in them

    May be that the text fields are read-only.

  • Pdf form with fields ppl can type into

    I have a pdf form with fields that are not able to be typed in. How can I edit them so that ppl can type into the field?

    Hi courtneyp58664902,
    I would recommend you to follow the steps detailed on the page associated with this link (http://wwwimages.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-con vert-forms-into-fillable-pdf-c… ).
    I would recommend you to Save the pdf with reader rights enabled [ File -> 'Save as other' -> 'Reader extender PDF' ->  'Enable More tools ( includes form fill-in and save)' ].
    Please let me know if you face any challenges or need any further assistance.
    Regards,
    Rahul

  • Combo LOV firing mandatory field validation

    Hello,
    I am using Jdev 11.1.1.6.
    My VO is entity based. I have 3 fields in this VO as F1, F2, F3
    All 3 fields are mandatory.
    F1 has model based Combo Lov implemented. List Attribute lookupId from LOV is returned to F1 and List Attribute lookupDesc to F2.
    F2 is mandatory and editable. Idea is that default text is returned by lov and then user can update the description.
    Scenario 1: <does not work>
    At runtime, in create mode, when I try to select a value for this combo lov, it fires mandatory field validation for F2 (only for F2 and not F3) and does not show list of values. I can not make it to show list until enter some data in F2.
    <af:inputComboboxListOfValues> has autoSubmit="true" and immediate="false" and F2 has partialTriggers="id of F1"
    Scenario 2: <works>
    For test purpose, if I make F2 read-only then it works perfectly but F2 is editable and mandatory as well.
    <af:inputComboboxListOfValues> has autoSubmit="true" and immediate="false" and F2 has partialTriggers="id of F1"
    Scenario 3: <works>
    On other pages, I have implemented combo lov where the lov is implemented on reference field and returning the value to only Id column and not to any other field. This scenario works perfectly even with mandatory fields present on page.
    <af:inputComboboxListOfValues> has autoSubmit="true" and immediate="false".
    Thanks,
    Jai

    Try to remove partialTrigger from F2 (has partialTriggers="id of F1"),
    and attach valueChangeListener on F1, in which you can partially refresh F2 (by code)
    Of course, make F1 autoSubmit.
    Scenario 1: <does not work>
    At runtime, in create mode, when I try to select a value for this combo lov, it fires mandatory field validation for F2 (only for F2 and not F3) and does not show list of values. I can not make it to show list until enter some data in F2.
    <af:inputComboboxListOfValues> has autoSubmit="true" and immediate="false" and F2 has partialTriggers="id of F1"

  • Combining PDF Form causes fields to disappar, Acrobat to crash when trying to edit combined PDF

    I have a 10 page PDF form that I can edit normally.  I combine it using the Combine Files wizard.  The resulting PDF has several fields disappear upon saving, and causes Acrobat to crash every time if I try to edit the form.  I can combine the original PDF form with no other document, and the error still occurs.  I have several similarly named fields, such as Name#1 and Name#2, and it seems that all those fields disappear after going through the Combine Files process.  I can open the resulting PDF, and fill in the remaining fields, but attempting to edit the form causes Acrobat to crash each and every time.
    I have used this process before, with no problems, but it fails every time on this form.
    This is the error in the Event Viewer: Faulting application Acrobat.exe, version 10.0.0.396, time stamp 0x4cc5ebc0, faulting module AcroForm.api, version 10.0.0.396, time stamp 0x4cc5f5cc, exception code 0xc0000005, fault offset 0x0012d905
    This is using Acrobat X Standard and Pro on XP Pro and Vista.
    If I open the original PDF, and insert a new PDF as new pages, that works fine.
    I updated Acrobat to the latest patch, problem remains.  I don't know how to resolve this.

    Did a little more testing and this is what I found. If I use the "Insert from file" feature to combine a cover sheet plus 3 AcroForms (inserting each file one by one), eveyrthing appears to work.  However, if I use the "Combine via Acrobat" feature I run into the issue of fields disappearing once combined.
    I shoudl also add that perhaps the issue had something to do with the fact that I initally produced the cover page pdf via Photoshop "save as PDF". Perhaps that contirbutted to the structure issue despite it being a PDF...maybe under the hood things are structured differently.  Who knows.
    Just FYI for others: What appears to be working is using the "Insert from file" option vs "Combing via Acrobat". Also, if you are including a non-AcroForm PDF, be sure it a traditional vs. saving as a PDF from Photoshop.
    Alot of this may be a fluke, but it seems to fix my issue - for now.

  • PDF form text fields' options change when opened in READER on a MAC.

    I created a PDF form using Adobe X PRO. All fields are UNCHECKED for Property/Options/ "scroll long text". I save and distribute the form as a "reader extended pdf/enable additional features" so it can be saved and returned using READER.
    When a Mac user opens the extended form in Adobe READER, ALL the text fields change to scroll. When he returns the completed form to me, every text field, even signature and date fields, are changed to scroll text.
    What is happening in the transition from PC to MAC?

    Preview is the default PDF viewer on the Mac. It should never be used with PDF forms. Just let them know that they should use Adobe Reader. Provide a link or URL where it can be downloaded and let them know that it's free.
    There are things you can do so that it doesn't work in Preview, but it involves some scripting. If interested in this approach, post again.

  • Save the PDF Form with Field Name

    HI Guys,
    I have the Requirment in PDF Form.The PDF Form is generated with the Adobe Live Cycle Designer.After generating the PDF Form the user filled the details in the form and save the filled form.while clicking the Save button the default PDF name is displayed in the File name box.The Requirement is iam having one field in the form.The Field name value should needs to displayed in the File name box during saving.Is it possible.Once its possible please let me know.This is needs to be delivered very shortly.
    Thanks & Regards,
    SatheshKumar R

    You can save the form with name generated from a field's value, but therefore you will have to install a folder level script first and design a custom save button in your form.
    You cannot do this with the applications save or save as... buttons, and you also cannot rename a file on submit.
    Here's an example form and a folder level script. (Maybe to complicated fdr newbies)
    http://thelivecycle.blogspot.com/search/label/Save

  • Pdf forms shows field in blank on Ipad/Iphone

    We work a lot with PDF forms (FDF) (we already have near 10000 documents in PDF forms format) We can see the PDF with all the field filled in PC or MAC but when we try to see it in IPAD or Iphone all the field shows in blank....
    I have tried almost all the top rated PDF reader that I found in AppStore and no one works.
    Some of the supports told me that may be a bug in the IOS because they use the apple framework to read the PDF.
    The forms were created with Adobe Acrobat 8.0.
    By the way, it works perfect in Android too (with Adobe Reader).
    Am I the only one with this problem?
    Will the IOS 5 fix this problem?
    Please, I need a solution....
    Thanks
    Carlos

    Try a different PDF reader for your iPhone from the app store.  The OEM plugin to read the pdf's may not be able to read form fields.  It's worth a shot.
    BF

  • MX8 IE7 field validation issue

    I'm having a problem with using CFFORM and simple field
    validation -- by simple, I mean simply setting required="YES" on a
    CFINPUT field. The JavaScript that CF8 generates is something like:
    quote:
    if( !_CF_hasValue(_CF_this['CompanyName'], "TEXT", false )
    apparently this is invalid in IE7. CF5 generated the above
    as:
    quote:
    if( !_CF_hasValue(_CF_this.CompanyName, "TEXT", false ) )...
    this is valid in IE7.
    Help!

    Nevermind! A naming problem. For some unknow reason, the form
    name was hardcoded to "CFFORM_1". This creates a naming conflict if
    there are multiple forms that are unnamed because CF will name the
    first unnamed form "CFForm_1" -- boom!
    Unfortunately, CF nor JavaScript warns you of this collision.
    I hope this helps someone else.

  • Can I use data entered in PDF form's field(s) to auto-populate Save As file name?

    Hello,
    I want to automate, as much as possible, the "Save As" process by using some of the data that the user entered in the fillable PDF form.
    For example, I want to include the user's First Name and Last Name that they entered in the form to be part of the saved file name.
    First Name: Bob
    Last Name: Smith
    Therefore, when you select to Save As part of the new file name will already have <BobSmith><today's date>.PDF
    Form was created using LiveCycle Designer 11
    PDF version: 1.7, Adobe Extension Level 8 (Acrobat X)
    Thanks for any information that you can share.
    Regards,
    Roch

    You should try the LiveCycle Designer forum, but from my experience with Acrobat forms it's not possible. What you can do is either save the file using the desired file name and path (without user interaction), if the script runs from a trusted context, or you can prompt the user with the desired file-name for the file, but not enforce them to use it, nor populate it into the Save As dialog itself.

  • How to skip the mandatory field validation for clearing the screen fields

    Hi Friends,
      I have created a module pool screen, and made some fields mandatory. after entering some fields, if i try to clear the fields, am unable to clear. Its throwing the error "Enter all required fields"., since some mandatory fields are there. But i could able to navigate through other screen. Both the "CLEAR" and "NEXT" command are given in the at-exit command only. Next is working but clear is not working.
    Please  provide me the solution.
    Thanks
    Karthikeyan.L

    Hi,
    To avoid automatic input checks you have to assing function type - E to appropriate screen field, which is not to be checked.
    These function codes don't trigger PAI processing, instead they go directly to
    MODULE mod AT EXIT-COMMAND.
    ..placed in PAI of the screen. In this way you can ommit automatic checks performed by system on mandatory fields. Please ensure you have assing E type to next and clear functions in GUI status.
    Regards
    Marcin

  • Email pdf form to field value and actual email address

    I have a couple of issues I'm trying to solve and am not sure how to proceed. I need the Submit button to pick up a value from a field that the user has filled in and I need to supply an email address.
    I need to provide the text for the subject line of the email plus add a value from a field that the user fills in.
    I got those two elements to work based  on scripts I got from the Forum.
    But I also need the top half (or first page) of the form to be sent as a pdf and the second half (or second page) to still be an interactive form and a submit button that works similarly to the first Submit button.
    How can I accomplish this? Apparently, I'm still not able to attach a copy of the form.
    Thanks in advance.
    MDawn

    Hi Margaret,
    I am guessing that the forum has put in the spaces in your script(?)
    Here is a screenshot of Paul's form:
    You will see that Paul is passing "form1" through to the function. This is the name of the root node, so when clicked it will lock everything.
    If this form had multiple pages and just just wanted to lock the first page "purchaseOrder", then the script would look like this:
    myScriptObject.LockAllFields(purchaseOrder);
    A couple of things to watch out for:
    The script object "myScriptObject" is under the root node in the hierarchy;
    That the script object name in your event matches the name in the hierarchy;
    That the function name in the script matches that in the script object;
    The script object name and function name should be different and also do not use reserved words like "node";
    The name you are passing through to the function should match the name of a container in the hierarchy
    A couple of things you can try would include setting up a trial button and having the script in the click event, just to get it working.
    Also when previewing the form, press Control + J to open the javascript console. Then when you click the button, it will return any problem that is making the script fall over. This then makes it easier to find a solution.
    Hope that helps,
    Niall
    PS Just spotted that the script object is not under the root node. This isn't an issue here because there is only one page and the button calling the script object in under the same node. As far as I know if you have multiple pages that call the script object, then it is better to have the script object under the root node, where it is available from all pages.

  • Forms - Database field validation

    Hi,
    I am having an end date column in my form. It will move to the next record when the user presses down arrow key.
    Here i want to perform date overlap validation. But in query mode the form simply moved to the next record(i am not saving the form). So when i check the end date, the end date is allways null and i cant create second record.
    Is there any way to track this. That is i want to check the value of a database item which is not saved to the database(previous record).

    you can store all records in an array. table of rowtype for example. Then store all data in this array and use the array for validation.
    better is the validation against the database. use autocommit after each record or post the data. I prefer the autocommit.
    With this technique you can select against the database and you validate in the WHEN-VALIDATE-RECORD
    try it
    Gerd

Maybe you are looking for

  • Suddenly stopped playing my purchased tv shows, how can I fix this?

    I have  been purchasing tv shows from iTunes & viewing them on my laptop for  a while, but suddenly none of the shows will play - I can open them, but they sit as paused on the screen.  I can change where they are paused, but they still will not play

  • Can't logon to remote desktop in citrix with macbook air

    Can citrix in with macbook air os 10.9.5  most recent citrix receiver -- but when click on remote desktop app spins for a but but then stops and nothing happens When I use my macbook retina with same software -- OS and citrix receiver -- I can citrix

  • QI Stock without Insp Lots

    Hi QM Champs, My problem is that as per requirement of my client i mapped Inventory Posting VMENGE08 to post Other Quantity( NON-Valuated stock ) to Un-restricted use stock with movement type 311 from Q stock specified in QM config. This scenario is

  • How do I automate removing the eps extension from illustrator CC eps files. Not hide but batch remove on save?

    I notice that even when the .eps extension is removed on save or save as it still is put there. I need to upload about 600 of these to a server but without the extension. Is there a way to do it without opening up information in mac os and manually r

  • Ipod in car / unpause

    I have a belkin auto kit, that charges my ipod, etc. It also pauses the Ipod when I turn off the car, but when I start the car, I have to press play on the ipod. Is there a setting somewhere to change this, so that the ipod will continue playback?