The fields that display only if another field contains information.

I have a form that has multiple to sign. There is one for the Patient to sign that has the date automatically show (I work with a global in the previous entry). Then I have another box sign below this one for if the Patient is unable to sign.

I want to do is date (B) to refer to a previous entry with date (A) correct, unless there is information entry in another field (D), then 'B' field must be empty and 'C' field will have the referance to "A".

Example of form:

Date (A): _

Signature: ___Date patient (B): _

Representative signature: ___Date (C): _

Representative name (D): _

I hope this is enough information in the right format for the answer to this problem. Thank you.

Hello

There are probably a number of ways that you can address the issue.

While normally I try and keep the script in an object/event, here I will recommend a small script in the events to calculate dateB and dateC.

dateB calculate event:

if (repName.rawValue === null)
{
     this.rawValue = dateA.rawValue;
}
else
{
     this.rawValue = null;
}

dateC calculate event:

if (repName.rawValue !== null)
{
     this.rawValue = dateA.rawValue;
}
else

{
     this.rawValue = null;
}

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • I lost the toolbar that displays 'file' 'view' 'edit' etc at the top, it is impossible to follow your instructions for using the 'View' option to fix my toolbars.

    I lost the toolbar that displays 'file' 'view' 'edit' etc at the top, it is impossible to follow your instructions for using the 'view' option to fix my toolbars. I have no idea how access toolbars without this toolbar - I can't believe this allows this toolbar to delete (I did accidentally while trying to get an another toolbar restored). Thanks for any help

    Hi toby,.

    on the assumption that you always have access to the navigation bar, right click on the stop button, when the home page is loaded and check the 'Menu Bar' option in the context menu that appears.

    If you need more help see the knowledge base article the Navigation buttons such as back, home, bookmarks and recharge are missing

    Daniel

  • The program panel displays only the zoom-in video

    Hello!

    I just downloaded Adobe Premiere Pro CC 2014 and I can't view the video in the Panel of the program. The source of left panel shows full display while clip that the program on the right panel displays only the zoomed video (see below). Is it possible to change this? I am trying to edit the video in accordance with a separate audio file and need to see the entire video as I edit.

    Thank you!

    adobe premiere example shot.PNG

    It seems that it is doing things and your fair sequence is not sized according to the vertically oriented video. The source monitor panel displays the whole image because it didn't fit in a sequence that does not match the press.

    You must determine which parameters you want for your sequence (e.g. 1080 p 30 fps), add media (within the parameters of sequence, you gave) and adapts the video to fit black leaving on each side. Alternately, you could just drag the video file on the "new element" in the bottom right of the project Panel to a new sequence with the settings automatically according to the media, but then you will end up either cropping when exporting, or with a record high rectangular movie that not match most of playback environments. It is a common problem with all the video side that people these days with their phones and others. The video is inherently horizontal unless you look at it on a handheld device that has no particular 'up' direction.

  • Restricting the views to DISPLAY ONLY the rows CreatedBy current connected user

    I want to user Oracle views - restrict the view to DISPLAY ONLY the rows CreatedBy / current OwnedBy signed / authenticated user!

    What are the different approaches, I have something with;
    setNamedWhereClauseParam, but this must be called on each ManagedBean in the constructor, as I have now!
    This approach caused the button Edit/Save which simply calls the commit to stop working. In a complete view of all the lines, there is no problem, with
    the button requesting validation the selectedRow in af: table.

    Other means?

    Thank you

    It does not appear that your view object extends the framework with custom code extension class in dealing with populating the bind variable by default.

  • hide the toolbar that displays the icons at the bottom of the Office

    Bar tools original title: masking

    The toolbar that displays icons at the bottom of the office, how I put it to hide automatic?

    The toolbar that displays icons at the bottom of the office, how I put it to hide automatic?

    Right click on the Start button. Properties | Taskbar Tab box. Check the auto-hide.

  • When I try to scan with my CanoScan N640P ex scanner I receive a message indicating the Port to the printer that is used by another device. How can I work around this problem?

    When I try to scan with my CanoScan N640P ex scanner I receive a message indicating the Port to the printer that is used by another device.  How can I work around this problem?

    Hi ejp70,

    1. did you of recent changes on the computer?

    2. to when was the last time the scanner was working fine?

    3. you have any other printer\scanner connected to the computer?

    If you have any other printer\scanner connected to the computer, disconnect them and check if it works.

    I suggest that you uninstall and reinstall the scanner to the computer, also make sure that you install the latest drivers for scanner on Canon website.

  • How to make a script that runs only if another field's value

    I have a field in the sales tax in my form

    I do not charge the sales tax in TX, so when they choose the TX State on this field. I want to implement the sales tax.


    I am looking for how exactly that and am not having any luck.

    If it's for a calculated field, you can use a JavaScript custom script to do this, something along the lines of:

    // Calculate script for text field
    (function () {
    
        // Get the value of the State field
        var state = getField("State").value;
    
        // Get the subtotal
        vat total = getField("SubTotal").value;
    
        // Set the tax rate
        var taxRateTX = 0.0825  // 8.25%
    
        // Calculate the tax if Texas
        if (state === "TX") {
            event.value = util.printf("%.2f", total * taxRateTX);
        } else {
            event.value = "";
        }
    
    })();
    

    Change the field names in the code to match your form. I'm assuming that the State is selected in a combo box (dropdown) and it gives a value of "TX" when Texas is selected. Copy the following code rounds up to the nearest cent (assuming that subtotal is in dollars) which maybe aren't correct.

  • Custom calculation script runs not after that the field contains data entered

    I have a form that the user has entered the ZIP Code which is 6 characters with no spaces.  I take the 6 characters between and create another field that puts it in the ZIP Code format, but it only seems to work when they need to enter more information that isn't always the case.  Any ideas on how automatically update after only 6 first characters are entered?

    Here is my code:

    var s = this.getField("Postal_Code").valueAsString;

    If (s! = "" ") event.value = s.substring (0.3) +" "+ s.substring(s.length-3);

    else event.value = "zip_code";

    Thank you

    Cindy

    Here's what you would do in Acrobat 11, and I think that it is very similar to 10:

    First of all go in form editing mode: Tools > forms > change

    Then select: tasks > other tasks > set field calculation order

  • navigation bar contains buttons of social site that are supposed to show the icons, but display only text

    I have been using firefox as my main development for a new Web page. I use WordPress 3.4.2 and custom theme called thesis 1.8.5.

    The main navigation bar contains 8 buttons; 1 on my blog which is the home page and the other 7 to static pages. These buttons all justify left. The right end of the bar contains buttons for Twitter, Google, Facebook, and Feedburner. Are (or were) related to images; These buttons are justified to the right.

    Here's the code that does this work:

    http://DIYthemes.com/thesis/RTFM/replace-WP-menu-text-links-image-sprites/

    They worked fine until yesterday when I made some design changes to the space between the left button. Now, rather than display icons, the underlying text shows on the buttons right justified.

    Now, here's what's interesting. I also have Safari and Chrome on my system. The icons show both of theirs.

    I can't find any explanation or patches for this problem.

    I'll give you the URL of the site, but it is in Maintenance mode so will not show the problem.

    Thanks for your help.

    These screenshots of the nav firefox, chrome and safari bars could help.

  • Windows that display only half of the disk capacity

    I have a new laptop HP EliteBook with Windows 7 SP1 is installed. SSD has 500 GB, but the system is only half of the disk capacity show.

    What can we do?  Thank you.

    CHKDSK discovered...  0 KB in bad sectors. 719099 KB in use by the system. 65536 KB occupied by the log file. 89854676 KB available on disk. 4 096 bytes in each allocation units total 60636159 the disk allocation unit. 22463669 allocation units available on disk.

    Coincidentally reduce then extend the volume again?

    CHKDSK is essentially a tool of file system and the capacity of the disc that you see in the Explorer disc property is actually the size of the file system rather than the physical size of the volume, the physical size of the volume is based on the head of sector, while the size of the file system is based on the number of clusters (allocation units).  The file system has a total of clusters 60636159 x 4096 bytes = 248,365,707,264 bytes.

    Different size according to the different tools are both correct, but the file system is not using the entire partition, you need to extend the file system with the Diskpart tool.

    At a command prompt, enter the following commands:

    C:\ > DISKPART
    DISKPART > list Volume
    DISKPART > select volume c (here, you can use the figures given by the Volume of the order list or use the actual letter of the volume, in your case 'c')

    DISKPART > extend filesystem
    DISKPART > exit (exit Diskpart)

    Here is a screenshot of the procedure:

    The file system extension is relatively safe, but as always you should ensure that you have a good backup of your files before doing any kind of work of system disk/partition or file.

    John

  • Windows that display only a 1 TB SATa drive 32 GB

    Hello. Recently, I tried to upgrade my HP dc5700 small Form Factor PC XP Professional SP2 to Windows 8 Pro. A disk read error occurred during automatic reboot, which meant that I couldn't finish the upgrade. I had to restore the system using my HP recovery DVD, but that did not work, so I chose the format & recover, which seemed to work until I realized that I only had 32 GB of available disk space on the hard drive of 160 GB. I thought it must be a hard drive problem, so I installed a not 1 TB hard drive and reinstalled from the recovery disc. But the problem is still there. I checked the BIOS and I have the latest version: 786E2 V02.09. Any ideas?

    No problem. As I had everything backed up in any case, I decided to cut my losses and installed Windows 7. Problem solved :-)

  • Haw to find the element in the table that appears only once

    I have a table like this 2d:

    1 2 3 4 5 0

    5 6 2 4 7 2

    8 3 6 0 9 4

    5 6 7 7 3 2

    And I need to find items that appear only once in this table

    In this case, 8 and 9

    I also need this elements (row and column) position

    Are integers

    I tried to remodel the table and use the find but no result.

    Your best bet is to remodel a table 1 d do your seaching and use 'Quotient & rest' to convert location (index) in the table 1 d back to the index in table 2D. Use "Array Size" to get the number of rows and columns of the table 2D.

    The histogram only works on 1 d arrays.

    Or reshape a 1 d table. For each digit (0-9), use 'Search 1 D Array' twice. If the first 'search' finds a match (does not =-1), use the offset to start the 2nd search beyond the 1st index discovery. If 2nd 'search' returns-1, then one and the SAME time happens

    The index of the first 'search' to calculate the index (Quotient & rest") line and collar of the 2D array.

  • Specification of the length that display symbols?

    In CS5, I want to create a series of still images that appear in the timeline panel for 5 seconds each. Y at - it an easy way to do one of the following:

    1. change the timeline to display in a few seconds instead of frames?

    2 specify how long something must appear before the next symbol in the calendar?

    Thank you!

    One way is to use a Timer and move it one image at a time control.  Put the code below in the first frame of a layer actions...

    Stop();

    var moveTimer:Timer = new Timer (5000, this.totalFrames - 1);
    moveTimer.addEventListener (TimerEvent.TIMER, goNext);

    function goNext(evt:TimerEvent):void {}
    nextFrame();
    }

    moveTimer.start ();

    If you are studying this code, you should be able to solve any of your questions.

  • Re: Satellite A200-23N - I need the program that displays the status of the battery

    Can someone help me?

    I need the program that shows me the status of the battery of the laptop
    My laptop model is Satellite A200-23N.
    Please I need help!

    Hello

    What operating system do you use?
    Usually in the taskbar, it is symbol of power, and if the laptop is running on battery power power move the pointer of the mouse over this symbol and info on the battery power will be shown. You can see how can % of battery power has.

  • The application icon displays only not on the device


    Are you build the application that you are testing your device using Ant? If so, perhaps you have wrong path in the icon property.

    The value of your icon must be a relative path based on your destdir.

           
                
                
            
    

Maybe you are looking for

  • Cannot download files with plupload using Firefox 7 / Aurora (beta)

    I'm unable to download a file (using drag - move OR select file) with plupload and Firefox 7. Everything worked fine with Firefox 6. When I try to download a file with plupload, firefox thinks I'm trying to install an extension. http://www.Plupload.c

  • Help! Screen pink when adding photos to the slideshow - what is the cause?

    There is a "glitch" pink screen that keeps appearing randomly in my iMovie on some photos project. No one knows what is the cause? It's incredibly frustrating. Sometimes it will not appear in the preview of iMovie and then when I export the .mov file

  • Satellite L300 PSLBGE screen turns white after a while.

    I * model Toshiba Satellite L300 PSLBGE * and I have never seen this problem before.I use my laptop since last year in fact my laptop screen turns white after spending some time on it, usually after 10-15 minutes... sound also stop here and the only

  • an Excel TXT file format

    Hi all I was reading a TXT file in labview, the thing is that I was not able to give the format of excel file, I want to use a table 2D for all data that comes on the txt file I used the "reading of the worksheet" function, the data is only read on a

  • Why not store the reference to notifying global

    Hi all I work with the authors of the notifications and the queues in several screws. I have strange behaviors, when I store the queue references and to notify in the global variables. I read some entries in this forum, and some say, it's a "bad idea