How do I disable printing of my PDF if a text field isn't filled in?

Hello all I'm currently trying to find a way to make the print button of my pdf not work if say a necessary textfield wasn't filled in?
I take it that the standard validation scripts won't work?
The very helpful fellow from a thread seemed pretty sure it couldn't be done.
In short in order the print button to work the form must have certain textfields populated with content if the combo box next to them has a certain value selected.
Say for example
A text field by the name AIMCode_R1 has no content in it but it's related combobox "Loc_R1" has value 2 currently selected then before printing the pdf must validate that textfield "AIMCode_R1" has content and visversa if "AIMCode_R1" has content then "Loc_R1" must have  value 2,3 or 4 selected before the pdf will allow the user to print.

In that case all the responses above are incorrect. You can write whatever conditions you want before calling the print command.
Of course, the user will still be able to print the file using the built-in Print command, in which case you can use some of the ideas mentioned above, but the file will still print. One approach I like to use is to reset the form if some required fields are not filled-in, so the printed copy is blank, and then re-fill it afterwards, so the user can complete it.

Similar Messages

  • How To Generate And Print Reports In PDF Format From EBS With The UTF8 Char

    Hi,
    I want to know How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set in R12.0.4.
    Regards

    Refer to Note: 239196.1 - PASTA 3.0 Release Information
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=239196.1
    Or, you can use XML Publisher.
    Note: 551591.1 - Need Latest XML Publisher / BI Publisher Patches For R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=551591.1

  • How to create pdf files with text field data

    how to create pdf files with text field data

    That looks like it should work, but it doesn't.
    I opened the PDF I had created from Word in Acrobat (X Pro). Went to File > Properties. Selected "Change Settings". I then enabled "Restrict editing...", set a password, set "Printing Allowed" to "none", "Changes Allowed" to "none", and ensured that "Enable copying of text..." was disabled.
    I saved the PDF file, closed Acrobat, opened the PDF in Reader, and I was still able to select text and graphical objects.
    I reopened the PDF in Acrobat, and the document summart still shows everything as allowed. When I click on "show details" (from File > Properties) it shows the correct settings.
    Any ideas?

  • How do you grey out a radio button if a text field is blank in Adobe Acrobat XI Pro?

    How do you grey out a radio button if a text field is blank in Adobe Acrobat XI Pro?
    So this what I'm trying to do:
    (     )   |TEXT FIELD|
    (     )   |TEXT FIELD|
    (     )   |                  |
    (     )   |TEXT FIELD|
    I have a radio button: (     )
    and a text field: |TEXT FIELD|
    The third text field is blank, and I would like for the radio button next to it greyed out (user can't click on it) since the text field is blank. Is this possible to achieve? I'm assuming I'll have to use javascript, but what would the code be and would it be entered in the javascript editor for the text field or the radio button?
    Thanks in advance guys

    Hey, thanks, but it didn't work
    I have the text fields as read only. Could that be why it's not working? Should I make the fields not read only?
    Thanks,

  • Is there a way to print the check register with the Text field

    Hi,
    Is there a way to print the check register with the Text field and also each item's Text field?"
    When we enter a invoice we enter a generic text on the Basic Data tab then enter a "+" on each individual line item which in turns defaults to the generic text. Just wanted to know if the check register could draw in the individual line item detail where we can enter text that relates to just that line item. Sort of like the MIR7 draws in the detail for each item.
    Kindly help me in full fill the above requirement.
    Thanks
    Sunitha

    Hi,
    Can any one help me on this issue?
    Thanks
    Sunitha

  • How can I create a form for users wherein the text field will expand to accommodate additional text?

    How can I create a form for users wherein the text field will expand to accommodate additional text?

    You need to use LiveCycle (PC Only) to create a dynamic form like that.
    The best you can do with Acrobat to view all of the text in a field is to set the field to multiline, and set the size to "Auto" (If you don't set the size to 'Auto', you can enter as much text as you wish, but the user will need to use the scrollbar to view all of the text.)

  • How to show $ sign alongwith the value in message styled text field.

    Hi,
    How to show $ sign alongwith the value in message styled text field.
    The value is coming from the table column in VO.
    I am working on OAF R12.

    Hi,
    Resolved.
    I used the below code in CO for the solution.
    Formatter currencyFormatter = new OADecimalValidater("$#,##0.00;($#,##0.00)",
    "$#,##0.00;($#,##0.00)");
    OAMessageStyledTextBean msrpField = (OAMessageStyledTextBean)webBean.findChildRecursive("MSRP11");
    msrpField.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, currencyFormatter);

  • How do I disable Adobe opening my pdfs

    Hi,
    I recently clicked "yes" to a pop-up window that asked "Open all pdfs with Adobe Reader?"
    I would like to turn off or disable this, so that when I click on a pdf it isn't automatically opened through Adobe Reader. How can I disable it?
    I have Adobe Reader 10.0.0 and use a Mac with Mac OX 10.6.8.
    Thank you!
    Kim

    Thank you, but when I control click, I don't get a "get info" option. However, a drop down menu pops up with these options:
    add sticky notes
    select tool
    hand tool
    marquee zoom
    previous view
    rotate clockwise
    print
    find
    document properties
    page display preferences
    When I click on "page display preferences, another window with many options pops up, but none of them seem to relate to "open with."
    Any other ideas?
    Thank you!

  • How can I disable printer access on a managed account (guest/kids)?

    Is there a way to disable printer use on a managed user account? I have created a limited user account for my kids to use. The problem is, sometimes they visit these websites that allow them to print their "works of art" and by doing so they use up a lot of my printer toner and paper. I don't want to have to turn off the printer and create a giant printer queue as the printer is a network printer shared among other computers. I rather just disable their printing capabilities. Deleting the printer from their user account also deleted it from my main (admin) account. I'm posting this in hopes someone out there knows how to do what I'm asking for. Thank you.

    Scotch_Brawth has the basic steps outlined.  A few additions I would make is that CUPS is already running on your system in the background.  It is the underlying printing system for OS X.  The easiest way to control the users of printers is through the web interface to CUPS.  This is what is disabled by default in Mountain Lion.  You can enable it by using the Terminal (/Applications/Terminal).  Copy and paste the following command into a Terminal wndow and then hit Enter or Return:
    cupsctl WebInterface=yes
    Now you can use any web browser and go to http://127.0.0.1:631/printers/.  Click on the link to the printer you want to control.  There will be two drop down menus near the top of the page -- Maintenance and Administaration.  Use the Administration menu to select Set Allowed Users.  The page that will appear lets you enter a list of users to either allow to use the printer or prevent from using the printer.  Make the appropriate choices and click the Set Allowed Users button.  You will be prompted to enter your administrator's user name and password.
    You only need to enable the web interface once.  It will then be available unless you use the Terminal to disable it or until an Apple update turns it off again.

  • Disabling print preview in pdf

    May i know how I can disable to pop up? It suddenly appear out of no where and it is messing up with my print outs. My colours were totally off. Please Help. Thank you.

    what pop-up? What system? What else? You need to be much more specific and explain better.
    Mylenium

  • HT3771 how do i disable printer status reports

      how do i disable the printer status reports

    What printer status reports? That's not something that a Mac creates - that's something you've set up on your printer.
    Matt

  • How do I disable printer color management so I can get clear photos using adobe?

    My printer is an Office Jet Pro 8500A Plus. My operating system is Windows 7 Pro 64 bit. I get excellent photos if I print from Windows Media. When I print from Photoshop Elements 10 all images are blurred and dark. Photoshop says to disable printer color management in printer preferences but there is no link.

    I have researched the matter a lot and I, 
    along with many others, still have problems with this complicated 
    subject.
    Color management is as simple in theory as Honoring a Source Profile and CONVERTING it to a Target Profile (monitor or printer) for Proofing.
    But yes, we work at the mercy of the rocket scientists who try to dumb an extremely complicated process down so regular folks (like me) can make it work — trouble is I think their approach needs a bit more distilling and common sense sometimes...but it is very doable once you put in the time to figure it out, just follow the CHAIN in your workflow if you're still having problems.
    If you want a "simple button" try staying in sRGB and printing out of Apple Preview app using OEM standard papers matched to your printer and OEM ink set.

  • Interactive pdf form with text fields. Chinese fonts

    Hi All
    We have designed an interactive pdf with text fields. We need the text fields to be in a Chinese font. I understand that this cant be done in Indesign (change the inputting font to Chinese) I have moved the file over to Acrobat Pro and used the text property to amend the font to Simsun but when we try it out the font is still in English. Any ideas on how to remedy the problem??
    Thank you in advance
    Paul

    Basically, you need to create a pdf form.
    Add a text field to your form.
    There you can choose which font your want the text to appear in.
    The trick is, when you export from InDesign, in the "Advanced Tab" — set "Subset fonts when percentage…" to 0%, so the whole font embeds.'
    I believe there's an option in Acrobat to embed the font as well, but I'm not recalling what it it.
    But that will ensure the font appears correctly.
    d

  • How do I set the value of a dynamic row text field

    I have a repeated row form which contains a button and multiple text fields.  There is a text field (Input Data Field) further up with some information I want to place in the table and multiple buttons that I want to read the value of and set to the table.  I apologize there are multiple questions I have and I am using pseudocode to describe it.
    Top form looks like
    InputField
    | ButtonX1 | ButtonY1 | DescriptionX1 (read only Text Field)
    | ButtonXn | ButtonY1 | DescriptionXn
    OutputRow looks like
    | ButtonOutput | OutputField1 | OutputField2 | OutputField3 |
    So I would like it to do
    ButtonX1.click
    OutputTable.OutputRow.addInstance(true)  //this works - everything else I have questions on
    OutputTable.OutputRow.OutputField1.rawValue = DescriptionX1.rawValue
    Question 1
    How do I address the location in each table to set a value
    Question 2
    How do I get the value of the description field in the same table and row as the button
    I would like to say something to the effect of  OutputTable.OutputRow[??].OutputField1.rawValue = this.parent.DescriptionX
    OutputTable.OutputRow.OutputField2 = InputField.rawValue
      Same question as above - how do I specify a dynamic row - is this the proper syntax for getting the value from the input field?
    OutputTable.OutputRow.OutputField3 = this.ButtonLabel
    Question 3
      How can I get the value of the button's label to set in the field
      There should be very many of these buttons and buttons will be added - I would prefer to set the value based on the button's label to make the value easier - not requiring changing the code
    Question 4 - unrelated to those above.
    Is it possible to build the first table
    | ButtonX | ButtonY | Description |
    from an XML File.  I have seen examples of how to build if it is just data, but can the XML be pushed into a form with code to do the above actions?

    Each object in a form must have a unique name. I doing so it is not neccessarily the name but the path or SomExpression associated with that object that must be unique. In your case you have a Table.Row.object configuration. The Row is the part that is repeating so to give each object a unique name an instance number is placed on the repeating part. So objects in the 1st row woudl be Table.Row[0].object...objects in the second row woudl be Table.Row[1].object etc .....You can see this by adding a debug instruction on the Enter event of the description field. Put the code app.alert(this.somExpression) and when you enter the field you will see what the somExpression is. Do this for a few rows and you will see the pattern (don't forget to remove the debug code from the enter event). Now you know what you have to use to address the fields. If no instance is given it is assumed to be 0 ..that is why only the 1st row is being affected.
    So now to answer your questions:
    Question1: The square bracket notation is an issue for javascript (this is the notation for an array) so we have to use a different means of addressing the field to include the instance number. So to address the Description in the 3rd row we woudl use:
    xfa.resolveNode("Table.Row[2].Description").rawValue = "This is my new description";
    Note that the instance number is 2 for the 3rd row because the instance numbers are 0 based.
    Question2. The resolveNode notation allows you to pass a string so you can also concatinate expressions to make the string. If you are writing code on a button in the same row you can get the instance that you are on by using the expression this.parent.index. The "this" portion refers to the current object (the button) and the parent.index gets you th eindex of the Buttons parent. If the button is embedded deeper in a hierarchy then you can continue to add parent indicators until you get back to the node that you want. So rewriting your expression from Q1 it woudl be:
    xfa.resolveNode("Table.Row[" + this.parent.index + "].Description").rawValue = "This is my new description";
    Question3: The buttons caption can be retrieved by using ButtonName.caption.value.text.value
    Question4: When you say build from an XML file. What are you expecting to come from the XML file? The caption that goes on the button? Typically the XML file carries data (not to say that it cannot carry other things). Just need a bit of clarification on this one first.
    Hope that helps
    Paul

  • How to put the return data from webservice to a text field

    Dear All ,
    I created a function module for calculating the square of the input given  and created a webservice using the create webservice option available for function modules.
    function module:-
    FUNCTION ZJK_FLEX_TEST.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(DATA) TYPE  ZSLNO OPTIONAL
    *"  EXPORTING
    *"     VALUE(DATA1) TYPE  ZSLNO
    *"  TABLES
    *"      IT_DAT STRUCTURE  ZWBSER OPTIONAL
    data: wa_dat LIKE LINE OF it_dat.
    data1 = DATA * data.
    wa_dat-results =  data * data .
    APPEND wa_dat TO it_dat.
    ENDFUNCTION.
    and i passed the it_dat in table fields and data1 in the export paramenters of FM.
    but in the flex i am not getting the table values. but i am able to get the data1 value. but the problem is . I am getting it as an XML format.
    <s0:ZJK_FLEX_TEST.Response xmlns:s0="urn:sap-com:document:sap:rfc:functions" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
      <DATA1>0000025</DATA1>
    </s0:ZJK_FLEX_TEST.Response>
    so how to set the value of data1 to my text field in the flex .

    Hi Jay,
    resultFormat="e4x" will give you resultset in XMLListCollection otherwise resultset will be an ArrayCollection.
    For your example try with this statement after web service result:
    txtInput.text = ws.ZJK_FLEX_TEST.lastResult.DATA1.toString();
    where ws is id for web srvc and txtinput is a simple textInput control UI.
    I hope this will solve your query.
    Regards,
    Vivek

Maybe you are looking for

  • Dowload a SAP NetWeaver 7.3

    Hi Gurus, I need to download a SAP NetWeaver 7.3 to install a SLD system, I've spend the last 6 hours looking in marketplace to find out where to download the installation DVD. In the installation guide the path is: http://service.sap.com/swdcDownloa

  • Direct connect to my PXI module

    Hi, my problem is, that I don´t know how I can direct "speak" whit my PXI module. I need some information about revisions-number and so on... whit the DAQ I can find serial-number and device-type, but I need some specific informations. If I look to G

  • I have taken backup of my phone ; not able to restore it back

    i have taken backup of my phone ; not able to restore it back

  • IMusic v10 won't play while importing CD and won't burn MP3

    I upgraded my iMusic to v10 when I hooked up my new iPod.  Now I find that a new CD won't play while importing and the new software is preventing me from burning new MP3 versions of the music I have imported.  Help!!!

  • Non Granular BI

    I always get the feeling we are dealing with SAP Business Intelligence in a very granular manner. In a typical BI environment, the reason for denormalization or un-normalization and data cleansing is to promote and propagate intelligence. Typically i