Fill one of the fields in the form, but not both

I have a form with a field to browse files and a text field. If either of these 2 fields are populated, I don't want the person to be able to fill in the other field. In other words, I don't want to make them able to fill in the two fields, just one or the other.

Ideally, I would like to gray on the a field if the other field is filled. Or if not that, do a validation based on the TWO fields that do not. Any ideas?

Thanks in advance!

John

Hi John,.

have you had a look to dynamic actions? It allows you to enable/disable/show/hide elements on the fly when one of the elements of the page is changed.

But you could also create a group of radio with two options buttons and use dynamic action to show/hide the corresponding page elements based on the selection that the user.

Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • PES 11 Organizer - folders or Albums - I see one or the other, but not both.

    How can I see my files so my Albums?  I can switch back by clicking on the pins of records, but I would like to be able to see the two so I can select a folder, and then drag the images in an album.

    It is possible to have folders and albums showing together in PSE11. Just two menu icons make sure dropdown pointing down (see image)

  • In a form, how do the race to disappear in some parts of the form, but not all.

    If I have a circle with a black line, but do want the semicircle to show the race how do? Thank you.

    Make 2 objects, one to fill the other to stroke. We e digs the arrow tool to select one of the 4 points on a black circle and remove to get you STROKE black semicircle.

  • Family safety will handle only one of the two computers, not both

    It is an interesting problem. I have 3 computers I want to fall under parental controls, all run Windows 7. (Computer A) works as it should with parental control. The other two are rocking. I have activate FS on B, it disables c. reactivate on C, it turns off computer b. C hard disk has been cloned to leave computer B, then C has "upgraded" to Windows 7 with a new valid license, so I suspect some ID that must be different between the two is the same. They have different computer names. I "fixed" FS on the two B & C nothing works. Any ideas?

    Hello

    Thanks for posting your request.  As it is on computers that are cloned, your application would be better suited in the TechNet forum.

    Thank you. If you have other issues with Windows, we will be happy to help you.

  • How to effectively check if a field in the form is not null

    Hello

    I'm guessing there's a way to programmatically check if a field has been entered during the loading of the form.  A sort of loop should do the trick...

    I tried to use the following code (from dohanlon for another purpose) which must run through all fields in the form, but I can't plug it in an if/else statement or even check for any value non-zero.

    xfa.resolveNodes (' form1... #field [*] "" ');

    Conceptually, here is how I like to do:

    If (xfa.resolveNodes ("form1... #field [*------]".rawValue!)) = null) {}

    Do it

    }

    Basically, I'm just checking if any field is not null, then I can "do something".  I know that I can't use it to check .rawValue but I can't think of anything.

    I'd appreciate any help (as always).


    Hello

    I prefer loops, because you can build in a little management as well as errors.

    See an example here: http://assure.ly/H1ksGR.

    Hope that helps,

    Niall

  • Deleted user names and passwords will not apear on a list in the form, but if I start typing them they apear

    Deleted user names and passwords will not apear on a list in the form, but if I start typing them they same apear if I deleted the history. I encountered this problem on several computers: a PC with XP, one with Windows 7 and Mac so I know for some there is a firefox problem. Somehow the passwords and user names remain stored even if previously deleted. I want to sell my PC but I can not because of security risks. Of course, the problem could be solved by formatting the HARD drive and reinstall the OS, but I want to know how to solve the problem without doing. I've tried everything and still they stay... Please help me... and I want to know if anyone else has this problem. Thank you!

    If the names and passwords still show in the password manager so that they are not deleted.
    See http://kb.mozillazine.org/Password_Manager

    If you don't see them in the password manager, but they still fill then you either they have saved in form or you have an extension that has saved this data.
    See remove the navigation, search and download history on Firefox

    You can check the form data saved with this extension:
    Form history control: https://addons.mozilla.org/firefox/addon/12021

  • I need to change the form, but it is "secure".

    I created a form in Acrobat Pro 8. XX made rights to fill and created for reader. I need to change the form, but it is "secure". How can I change the warranty form and re established the rights of the reader later

    Thanks Frank

    To change the PDF form, you must remove Reader Extended rights in saving the PDF as a copy as described in the help documentation.

    When you apply the Reader Extended rights are provided the opportunity to save the form in a different folder or under another name... This will prevent this problem since you have a copy of the form without and scope of rights.

  • How to edit an existing esign form that is inside a widget?  I need to change the form, but keep the widget.

    How to edit an existing esign form that is inside a widget?  I need to change the form, but keep the widget.

    Hello Damien,.

    If you talk about form fields in the Widget, then Yes, you can change them by going to the tab manage and click Edit opposite the name of the Widget under the Widgets section.

    Kind regards

    -Usman

  • How to view the fields on the screen but not printable?

    I have a text and the field I want to display on the screen but not print.  I chose the presence as 'Visible (display only)', but when I print the fields also prints.  No idea how I can make the fields in my form the two visible on the screen but unprintable.

    Try saving the document in dynamic PDF

  • I bought and downloaded an album, but one of the songs is not in my music. Why?

    I am running Yosemite (10.10.5) and iTunes 12.3.0.44 (with match) on an iMac. I bought and downloaded an album, but one of the songs is not available in my music, so I can't add it to any playlists. I've never had this happen before. Any ideas on what is the cause?

    Have you tried re - download the album?

  • How can I get an alternative serial number if the one on the CD does not work?

    How can I get an alternative serial number if the one on the CD does not work?

    Hello

    Please see the below help documents:

    Invalid serial number error

    Error: "serial number is not valid for this product". Adobe Creative Suite

    Kind regards

    Sheena

  • Cannot open disk ' * hard ' or one of the snapshot disks it depends on. Reason: One of the parameters is not valid.

    I have 4 virtual servers running on a host ESX 4. 3. run OK but 1 gives the following error when you choose works in Vsphere client.

    Cannot open disk ' * hard ' or one of the snapshot disks it depends on. Reason: One of the parameters is not valid.

    I have attached the log file and the list of files in the folder of servers.

    Any help much appreciated.

    Welcome to the community,

    This virtual machine successfully powered on since July 23?

    To me, it seems that something went wrong with the clichés (I guess they are / were created by a backup application). Due to the size of the files I guess more that snapshots were created and not modified.

    If this is the case, you can delete the virtual machine to inventory, edit the vmx file by

    replacement of

    scsi0:1.filename = LHMU-VIC04_1 - 000004.vmdk

    with

    scsi0:1.filename = LHMU - VIC04_1.vmdk

    then right-click on the vmx file in browser data store and add it to the inventory.

    Before adding it to the inventory, delete the snapshot vmdk files (those with '00000 x' in their file names) as well as the vmsd file. BTW, you can also remove the zdump file if you want.

    If you are not sure if snapshots contain valid data, take a look at the (small) header files vmdk. If the CID and the parentCID match, snapshots were created while the virtual machine has been powered down.

    If you are not sure, please post back before doing anything.

    André

  • Adding an image at the signing, but not in the signature field, in Reader

    Hello

    I would like to know if it is possible to add an image to a PDF when I sign the document in the reader.

    I don't want to add the image in the signature field as a signature, but rather under the signature field. The image is ' n barcode provide me with more information about the signature.

    I looked at the example Stamper, but this feature is not avialable in Reader.

    Thank you

    Magda

    PDPageAddAnnot works on compatible reader of PDF files.  Otherwise, Yes, you need Cos.

    From: Adobe Forums [email protected]<>[email protected]>

    Reply-To: "[email protected]<>[email protected]> ' [email protected]<>[email protected]>" "

    Date: Thu, October 27, 2011 00:56:18-0700

    To: Leonard Rosenthol [email protected]<>[email protected]>

    Subject: Adding an image in the reader at the signing, but not in the signature field,

    Re: Adding an image in the reader at the signing, but not in the signature field,

    created by magdakuithttp://forums.adobe.com/people/magdakuit> in Acrobat SDK - see the discussion complete onhttp://forums.adobe.com/message/3992749#3992749

  • Advice on the resolution "Error #2004: one of the parameters is not valid."?

    Hello

    Sometimes my graphs of objects returned by a remote call can be very deep and complex.  As you know, if you have not a reference to all the types of objects returned by a call to distance, you get this error:

    "ArgumentError: Error #2004: one of the parameters is not valid."

    So, I know what the problem is, but I often have a devil of a time finding - this who-class/type on that it chokes.  It usually involves a long process of trial and error.

    I was wondering if I forget what is obvious or if someone has a method to determine what classes he chokes on?

    Thank you!

    Usually, if you are using a debug version, you will get a record of the complete stack with line numbers.  I find those useful.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Can print the attachments, but not emails

    On my Macbook, I use [email protected] for email and print issues. I can print the attachments, but if I try to print an e-mail the preview screen is empty, so nothing is printed. A blank page comes out of the printer - Deskjet F2280 all-in-one. It used to work very well so do not know what I did to upset the software.

    Hi MoBoot,

    Welcome to the HP Forums!

    I understand that you can not print e-mails with your Deskjet F2280 and I'm happy to help you with this printing problem!

    Since you are able to print the attachments, but not emails from your account [email protected], I recommend you contact Microsoft Support.

    Hope this helps and have a great day!

Maybe you are looking for

  • How to stop the module loading bar?

    I see a few other similar questions without answers, so thought that I post the question to see if someone has thought of it. I DON'T want the bar the module at the bottom of my browser window... so why should I do? Firefox does a wonderful job in al

  • Satellite A210-16F cannot burn CDs or DVDs...

    Hi, I bought a Satellite A210-16f. I did the downgrade to XP Professional... Everything works fine, but I burn cds, dvdcs, audiocds can´t...I don't know if its problem of HW or SW problem... In Vista home I didn't try to burn a CD, because I reinstal

  • My Satellite A80 has Bluetooth?

    My satellite A80 there bluetooth - I think that there is a bul$ ilt in the device, there is even the logo bluetooth - but when I try to connect, he says there is no bluetooth device found?

  • hardware device does not update my ps3 eye driver

    Help, please

  • same update installs several times

    Why Security Update for Microsoft .NET Framework 2.0 SP2 on Windows Server 2003 and Windows XP x 86 (KB2572073) keep install again and again? He said "full installation", and then a few moments later, the Update icon and it installs the same. This co