How can I allow a "0.00" dollar amount in a required field?

I'm creating an expense form that has several fields marked a required. I've also included a java base print button that checks the fields and will open the print dialogue box if all the fields are completed. I'm wanting to allow a zero dollar amount to be entered into some of the fields though, but Acrobat sees that amount as an incomplete field. I've tried changing the format of the field in numerous combinations but I've got nothing.
Any solutions?
All help is greatly appreciated.
I'm using Acrobat XI Pro

The script I'm using to check the form and block the print is as follows:
var emptyFields = [];
for (var i=0; i<this.numFields; i++) {
     var f= this.getField(this.getNthFieldName(i));
     if (f.type!="button" && f.required ) {
          if ((f.type=="text" && f.value=="") || (f.type=="checkbox" && f.value=="Off")) emptyFields.push(f.name);
if (emptyFields.length>0) {
     app.alert("Error! You must fill in the following fields:\n" + emptyFields.join("\n"));
else this.print()

Similar Messages

  • How can the query results include null if it's a required field on the front end?

    I executed a query that simply asked for all data points on a single table.
    I am trying to figure out why the query would report back as having all "Null" values in 3 of 10 columns. The information is required for the end user to enter before the system allows
    them save a record.

    You understand correctly.
    When you look up de service code do you get an description from table DDLValues?
    THIS IS CORRECT
    If the service code is in there, you should check why de ID is not correct.
    I dont know what this means. Check why the "ID" is not correct? What ID?
    The DDLvalues table has no objects on which it depends. It that normal?
    This is the code for the individual services
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[IndividualService](
    [ID] [bigint] IDENTITY(1,1) NOT NULL,
    [StudentID] [uniqueidentifier] NULL,
    [DateofService] [datetime] NULL,
    [ServiceCode] [int] NULL,
    [FocusCode] [int] NULL,
    [InterventionCode] [int] NULL,
    [ClinicianID] [uniqueidentifier] NULL,
    [Schoolid] [bigint] NULL,
    [Approved] [int] NULL CONSTRAINT [DF_IndividualService_Approved]  DEFAULT ((0)),
     CONSTRAINT [PK_IndividualService] PRIMARY KEY CLUSTERED 
    [ID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    ALTER TABLE [dbo].[IndividualService]  WITH CHECK ADD  CONSTRAINT [FK_IndividualService_aspnet_Users] FOREIGN KEY([StudentID])
    REFERENCES [dbo].[Students] ([StudentID])
    ON DELETE CASCADE
    GO
    ALTER TABLE [dbo].[IndividualService] CHECK CONSTRAINT [FK_IndividualService_aspnet_Users]
    GO
    ALTER TABLE [dbo].[IndividualService]  WITH CHECK ADD  CONSTRAINT [FK_IndividualService_aspnet_Users1] FOREIGN KEY([ClinicianID])
    REFERENCES [dbo].[aspnet_Users] ([UserId])
    GO
    ALTER TABLE [dbo].[IndividualService] CHECK CONSTRAINT [FK_IndividualService_aspnet_Users1]
    GO
    ALTER TABLE [dbo].[IndividualService]  WITH CHECK ADD  CONSTRAINT [FK_IndividualService_DDLValues] FOREIGN KEY([FocusCode])
    REFERENCES [dbo].[DDLValues] ([DDLValueID])
    GO
    ALTER TABLE [dbo].[IndividualService] CHECK CONSTRAINT [FK_IndividualService_DDLValues]
    GO
    ALTER TABLE [dbo].[IndividualService]  WITH CHECK ADD  CONSTRAINT [FK_IndividualService_DDLValues1] FOREIGN KEY([InterventionCode])
    REFERENCES [dbo].[DDLValues] ([DDLValueID])
    GO
    ALTER TABLE [dbo].[IndividualService] CHECK CONSTRAINT [FK_IndividualService_DDLValues1]
    GO
    ALTER TABLE [dbo].[IndividualService]  WITH CHECK ADD  CONSTRAINT [FK_IndividualService_DDLValues2] FOREIGN KEY([ServiceCode])
    REFERENCES [dbo].[DDLValues] ([DDLValueID])
    GO
    ALTER TABLE [dbo].[IndividualService] CHECK CONSTRAINT [FK_IndividualService_DDLValues2]
    GO
    ALTER TABLE [dbo].[IndividualService]  WITH CHECK ADD  CONSTRAINT [FK_IndividualService_Schools] FOREIGN KEY([Schoolid])
    REFERENCES [dbo].[Schools] ([SchoolID])
    GO
    ALTER TABLE [dbo].[IndividualService] CHECK CONSTRAINT [FK_IndividualService_Schools]
    GO

  • TS1702 I just paid ten dollars for an app called flash detect. It is a total scam ... I want my ten dollars back. How can apple allow these apps on their store???

    I just paid ten dollars for an app called flash detect. It is a total scam ... I want my ten dollars back. How can apple allow these apps on their store???

    You can try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that app and use the 'Report a Problem' link.

  • I'm trying to use a madcatz controller on the mac but it turns on for 2 seconds and turns off. the system profiler picks it up as a xbox 360 gamepad but says its not been configured. how can i allow my self use this with my games.

    i'm trying to use a madcatz controller on the mac but it turns on for 2 seconds and turns off. the system profiler picks it up as a xbox 360 gamepad but says its not been configured. how can i allow my self use this with my games!

    I have exactly the same problem.
    I'm a little peed-off with Microsoft on this. The original wireless controller I have doesn't work either since the cable I'm using is 'just' the charge and play cable, so a direct connection to my Mac won't work with this cable. It's a cable for god's sake. Why on EARTH put any limitations on this!?!?
    Next I learn I need an additional USB wireless receiver from Microsoft to get my original 360 controller to talk to my Mac. As I certainly don't want to fork any more microsoft dollars on this, this is not an option.
    Next I think, yes! I have a MadCatz 360 wired USB controller. This should surely do the trick just plugging it in and the way I go. But oh no, for some reason I plug my MadCatz Xbox360 controller in, it flashes a few times then switches off and can't be turned on again.
    The System Profiles recognizes it as a MadCatz 360 device controller but that is about it, but the ontroller software I download for the System Prefs (360Controller, USBOverdrive etc) don't even recognize the controller as being plugged in.
    What the **** Is The Microsoft Deal with all of this!?!?
    PS: Oh, and I forgot to mention, there are No drivers for device 4716 that I can find on the MadCatz website, or am I going blind?
    If anyone has a link, it would be appreciated.
    Message was edited by: nostrawaggus

  • How can I allow other users on my macbook to view my iphoto library when th

    How can I allow other users on my macbook to view my iphoto library when they are logged in. I do not have a network, and the users (my family) all log in seperately when they use the computer. Does anyone know? Thank you.

    rdoss
    Welcome to the Apple Discussions.
    If you want others to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account(s). In the other account(s), enable 'Look For Shared Libraries'. Your Library will appear in their source pane.
    Remember iPhoto must be running in both accounts for this to work.
    Regards
    TD

  • How can I allow a user (client) to choose a local image file (on his hard d

    How can I allow a user (client) to choose a local image file (on his hard drive) and modify it using an applet from his browser ? I am trying to develop a web page that enables the user to choose an Image file, manipulate the image using a java applet, and display the results.
    Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. On the other hand, I can choose and upload any file using a JavaScript form:
    <FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="process.asp">
    <INPUT TYPE=FILE NAME="file1"><BR>

    It seems that I can choose an image file with a Java script form and process an image with an applet. How can I choose a file AND process it locally ?
    (I do not wish to upload the file to the server using JavaScript form and then back to the client�s applet for processing since it will be a tremendous waste of resources).
    Will appreciate any solution.
    Thanks !
    ( my email is: [email protected] )

    "Using Java�s �JFileChooser� does not work when called from a browser, probably due to security privileges issues. "
    You can do this if you sign the applet...

  • How can I allow the application to line through a field that has been locked after being digitally signed?  We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once

    How can I allow the application to line through a field that has been locked after being digitally signed?
    We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once the approved information is entered we line through the proposed field so the data entry clerk won't pick up the wrong information.  However we are receiving an error when attempting to enter data  in the field which we have this edit.  Error property: line through cannot be set because doing so would violate the document permission setting.  any idea how we can get around this issue?

    You can control which fields are locked down after signing by setting up a collection. Then those that are not locked can be changed after signing. If this is not possible, then the line outs must occur prior to signing.

  • How can I allow a customer to upload an image to be stuck onto a mug or t-shirt and then view what it would look like on that mug or t-shirt?

    How can I allow a customer to upload an image to be stuck onto a mug or t-shirt and then view what it would look like on that mug or t-shirt?

    In the absence of drivers, a rather nasty way to achieve this would be to ensure that your software always occupies the same portion of the screen such that you know the position of the 'sample' button. You could then simulate a mouse click at those coordinates when you require a sample to be taken.
    This would not be a robust solution as a user could move or minimise the window, or other windows could also find their way into the critical position and cause the application to work incorrectly or cause unexpected things to happen.
    However, if you just need a short term work around this method might be acceptable, just be aware of the risks if you try it.
    Searching for simulate mouse clicks and having a play is the way forward.
    As an example of simulating a mouse click in a certain position, have a look here:
    http://forums.ni.com/t5/LabVIEW/Programatically-Se​lecting-a-ring/m-p/1463242#M557128
    Ian

  • How can I allow or block the use of local storage by specific sites for all users in my domain.

    How can I allow or block the use of local storage by specific sites for all users in my domain.
    I tried to do this by MMS.cfg but it is not working, the problem is also described in your blog "http://forums.adobe.com/message/3272907".
    What I Want -: "I want to allow youtube for all the users in my domain and this should be listed in Control panel-->flash player-->storage-->local storage setting by site-->websites tab."

    Wow, cor-el... Did you -intend- your reply to be inane, inappropriate and completely inapplicable?
    How would that possibly do what I asked?
    You -might- consider '''''reading''''' the question, -=before=- you reply. And it's really okay to NOT REPLY if you just don't know. Just an idea.
    Feel better, real soon.

  • 2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?

    2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?, what if I buy a movie later? i will get the same problem!!! still I do not know how the avengers ends!! please do not tell me haha, focus on the problem here!

    Welcome to the Apple Community.
    Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.
    Currently, if your purchase happens to be your most recent purchase you will not be redirected to the report form, in this case use the report a problem option from the invoice that was emailed to you.
    I believe your issues are probably a network issue, which unless you resolve are likely to be repeated again.

  • HT3702 How can I just prepay say 500 dollars on my itunes account, so that I dont need to have multiple transactions on my credit card...?

    Hello There! How can I just prepay say 500 dollars on my itunes account, so that I dont need to have multiple transactions on my credit card...? Cheers Dilip

    Hello DilipVenkat,
    Welcome to the Apple Support Communities. If you want to have a purchase iTunes Gift Cards to have credit on your account, just purchase an iTunes Gift Card at your local Apple Online Store or through iTunes. Store.
    iTunes: Sending iTunes Gifts
    http://support.apple.com/kb/ht2736
    iTunes Store: How to redeem a code
    http://support.apple.com/kb/HT1574
    Regards,
    -Norm G.

  • How can I allow the apHow can I allow the application to line through a field that has been locked after being digitally signed? plication to line through a field that has been locked after being digitally signed?

    How can I allow the application to line through a field that has been locked after being digitally signed?
    We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once the approved information is entered we line through the proposed field so the data entry clerk won't pick up the wrong information.  However we are receiving an error when attempting to enter data  in the field which we have this edit.  Error property: line through cannot be set because doing so would violate the document permission setting.  any idea how we can get around this issue?

    HI,
    Kindly post this query in Acrobat forum:Acrobat
    Regards,
    Florence

  • How can I allow multiple file selections ?

    I used FileReference's browse function,
    But it's only can select one file at the same time.
    How can I allow multiple file selections ?
    Thanks a lot.

    You need a FileReferenceList object instead. See the Help for
    FileReferenceList, it has good examples.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • How can I allow popup window within secured site?

    How can I allow popup window wlthin NWA People.com(secured site)?
    Ineed to see Access.

    You can allow pop-ups in Safari via Settings > Safari > Block Pop-Ups set 'off'

  • Hi - How can I cancel or donate the remaning amount $0.01 itunes?

    My friend gave me a $25 iTunes gift card I switched to the US store and spend most of it with $0.01 remaining - Now I want to switch back and when I click on change country I got a message "You have a store credit balance; you must spend your balance before you can change stores"
    How can I cancel or donate the remaning amount?

    Go here:
    http://www.apple.com/emea/support/itunes/contact.html
    and ask the iTunes Store for assistance.
    Regards.

Maybe you are looking for

  • Where do I define the automatic posting of goods issue to Cost Center?

    Dear Experts, I found out that all the raw material consumed each time I do the confirmation of process order via CORK did not post to Cost Center. Where do I define the automatic posting to Cost Center for Goods issue for consumption? regards, Abrah

  • Extended Classic Scenario - Can Purchase Requsition be created in R/3?

    Hi SRM Gurus, In Extended Classic Scenario, Is it possible to have Purchase Req to be created in the backend? Technically whether it is possible or not? Functionally, there is no such need, I agree. Thanks & Regards, Ramkumar

  • Legend in ALV Table

    Hi all, Can we have a legend in ALV table. Basically I have different colors in different rows depending on some conidtions in the data. I have to show a legend giving meanings of which color stands for what condirion. Regards, Reema

  • Blocking a material with MIGO.

    Hi gurus, i´m needing to block a material directly when doing MIGO (mov 101). is there any way to do it? ie: doing a MIGO for a material taht belongs to storage location, i want this material enter blocked automatically for these storage location. Th

  • More Navigation Options in Date Finder

    I'm working on a project where I want to grab a few photos from every month over several years. The Date finder is a great tool for this sort of thing, but it'd be even better if its menu had choices like Prev/Next Month and Prev/Next Year to change