How to do a mandatory date field if you select No in the field before?

I am very new to this program, it's my first form.  I'm stuck on how to make the date field becomes mandatory once you select No for the before option buttons (options are Yes or no).

Any help would be greatly appreciated.

Thank you

You can write in the click / release the Radio button event...

Language: Java Script

DateField1.mandatory = 'error '; This line is the Date field mandaotory.

DateField1.mandatory = "disabled"; This line will remove the control mandaotory.

Replace DateField1 with your name of the control...

Thank you

Srini

Tags: Adobe LiveCycle

Similar Questions

  • How can I insert a date field?

    I have download a date field widget, but I can't seem to make it work. Any suggestions?

    Exactly how did you download the file? You can import the library file, and then use on the pages, or if you have downloaded the CC widget addon then synchronize first with CC in the active section, then use in Muse.

    Thank you

    Sanjit

  • How can I fill a date field when the document is signed?

    I have 4 fields of digital signature in a PDF form.  Next to each signature is a field of date (format dd/mm/yyyy).  I would like it so when a user registers the signature box that fills the date next to her field with today's date, then change to read only (so it cannot be changed).

    In Adobe Acrobat 9 Pro, I have this form and it has the following fields

    Signature1

    Signature2

    Signature3

    Signature4

    DateField1

    DateField2

    DateField3

    DateField4

    Signature fields trigger a Topaz.GemSignPlus driver where the end-user will sign on an electronic signature pad.

    How do I use Javascript to detect when one of these Signature fields is populated and fill in the date in the appropriate date field?  I tried to create Boolean variables initialized as false for each field of GIS.  Then when the signature is complete, I try to change it true, but for some reason any my javascript detect that the value does nothing.

    I searched the net endlessly for this solution.  I can't believe I'm having a difficult time finding an answer.  I mean how many places you go where they ask you to "sign and date here."  Each document signature base I've ever seen also requires a date.

    In any case, here's what I have.  Functions, I have a script called JavaScript Document name populate date:

    function populatedate()
    {
    var bSignature1 = new Boolean();
    var bSignature2 = new Boolean();
    var bSignature3 = new Boolean();
    var bSignature4 = new Boolean();

    If {(bSignature1)
    DateField1.value = util.printd ("d/m/yyyy", new Date());
    }

    If {(bSignature2)
    DateField2.value = util.printd ("d/m/yyyy", new Date());
    }

    If {(bSignature3)
    DateField3.value = util.printd ("d/m/yyyy", new Date());
    }

    If {(bSignature4)
    DateField4.value = util.printd ("d/m/yyyy", new Date());
    }
    }

    In each signature field, I on the signing tab "this script is run when the field is signed:

    var bSignature1 = new Boolean (true);

    I'm changing to true see.  My thought is that if it is true that DateField1.value should print jj/mm/aaaa in her building in the Date() function.

    But maybe I do not get the correct context.  I'm new to Javascript in Adobe.

    It's a round script. Why not just use the signature signature of script to set the value of the field date? The correct syntax for this is:

    this.getField("DateField1").value = util.printd ("d/m/yyyy", new Date());

  • How to find a custom date field?

    I'm trying to recover contacts based on the value in a custom date field, and I can't get the search function to work. It works fine for me with other custom fields, for example this query:

    / data / contacts? Search = C_Job_Role1 = * HR & depth minimum = & count = 5

    Returns all contacts whose ends the Job role in HR properly. However, if I try the same thing with a date field, for example this query:

    contacts / data /? Search = C_Contract_Expiration_Date1 = * 1 * & depth minimum = & count = 5

    I get a response with the http 500 code - it's an internal server error, so presumably that choke the server when asked to perform a search on a date field.

    Is there a way to do this?

    Hi Eli,

    I ran a few tests and it seems that endpoint to search as standard format (MM/DD/YYYY) date type, not deal with time at the time of unix. The following query (example) will work: C_Contract_Expiration_Date1 = 01/04/2012

    I'm sorry for the initial response. There are some points of endpoints that use the time unix for types date, and we will be more cautious about calling the difference in each context.

    Thank you

    Fred

  • How to fill in a date field item with sysdate whit a LOV field

    Hello

    It started with APEX. I have experience with ORacle Forms and reports before. Just started to create an application of small expenses with APEX. A month ago LOV that has every month this year. In the case of change, with the submission of the Page, I am able to run a report for all fees for the selected month. My question is as in the case of forms, we could add a trigger of an element, as, when list item changed or key the agenda, where we could do the simple things like call a PL/SQL procedure or fill in any other field of the form. Could you please let me know how can I run this Summit? For example, when I change the field LOV fresh months running the report for all fees for the month selected, I also just want to fill another (single) field of the month. Just as simple as that. Also, what happens if I want to call a PL/SQL procedure at the same time.

    I have tried searching forums and the internet. Could not find anything. Not sure if this is not possible in the APEX.

    Thank you
    Sun

    I think you could find one of your fire done dynamic actions with onLoad of the page.

    Check the attributes of your DAs, there will be a "Fire dependent" checkbox, there would be some pl/sql that you call raises no_data_found

  • How to read pdf form data/fields

    Hello

    I want to orchestrate a process where the entrance is formed interactive and is the xml data output.

    I mean that I want to read/data fields of the pdf form.

    What activity are used on bench.

    Concerning

    Sunil

    Try the ExportData or ProcessFormSubmission service.

    I hope that helps!

    Vikas - Vijayrania

  • How to list comma separated data field...?

    I need to separate the list data in a column for the rendering of the data more readable.

    For example:

    Select * from myTable;
    ID     TEXT
    --     -----------
    1      RED,GREEN,BLUE,YELLOW,ORANGE,VIOLET
    2      GREEN,ORCHID,SLATEBLUE,RED,YELLOW
    What I'd like to see instead:
    ID     TEXT
    --     -----------
    1      RED
           GREEN
           BLUE
           YELLOW
           ORANGE
           VIOLET
    2      GREEN
           ORCHID
           SLATE
           RED
           YELLOW
    The number if items in the TEXT column varies from a minimum of four points... She also could have more than 20!
    The items are all separated by a comma (no spaces).
    Finally, the for now, the data doesn't have to be sorted, but would be nice in the future!

    Thanks, I really appreciate any idea that you all might be able to provide!

    KSL.

    Tom Kyte has been answering this question for years, and there's a FAQ about this somewhere here. In any case, here's my variant which manages the entrances to the channels up to 4000 bytes, because stops Tom 3998. Furthermore, some may suggest REGEXP functions which avoid because they are nice time CPU.

    with indata as (
      select id rowlabel, text x from mytable
    )
    select a.rowlabel, b.column_value from indata a,
    table(cast(multiset(
      SELECT trim(SUBSTR(
        x,
        (case level
          when 1 then 1
          else instr(x, ',', 1, level-1) + 1
        end),
        (case instr(x, ',', 1, level)
          when 0 then 4000
          else instr(x, ',', 1, level) - 1 -
            (case level
              when 1 then 0
              else instr(x, ',', 1, level-1)
            end)
        end)
      ))
      FROM dual
      CONNECT BY level <= LENGTH(x) - LENGTH(REPLACE(x, ',', '')) + 1
    ) as sys.odcivarchar2list)) b
    order by 1, 2;
    

    Published by: stew Ashton on October 29, 2012 18:30 - example modified to use mytable OP.

  • W510: How do I access my data from a failed hard drive after the failure of the motherboard

    I made a mistake and has paid for major .

    This error pouring a drink sweet on my laptop. I know, I know, my keyboard can and protect against damage caused by the spill, but it was a drink together. In any case, I panicked and shut down the system and it has upset and removed the keyboard. And be the impatient person that I am, I made what was probably the ultimate error. I do not give everything save a sufficient amount of time to dry and I tried to boot the system. There is my computer. Or at least I think.

    Symptoms: It began at the start, kept a beep, sometime just close and will start.

    In any case, I guess that my laptop went kaput. Now to the point of this thread. I had not been a recent backup and can't remember when the last backup was actually made. Assuming that my hard drive is ok, I want to get all my data, so I saw several options:

    -Send the system to a data recovery service where I will not pay less than $300, but probably 2 to 3 times what

    -buy an equivalent model laptop and put the HARD drive in there

    -by an external SATA hard drive enclosure and mount it via USB on another computer

    I bought a box external and assembled this evening. I had read about the data access of difficulty with a system non-Lenovo because of encryption of the data. I proved that by linking it to my work (a Dell) laptop and I couldn't access my data directories. If I have access to an another Lenovo Thinkpad, I'll be able to access the data if connected via USB? I had read that I can access the contents of disc hard if it is connected to an another Thinkpad, but I knew not that if it means that I have it connected via SATA connection or if there is work through the USB port.

    I'll appreciate any suggestions for accessing my data.

    Best regards!

    All,

    Thanks for the suggestions.

    I was able to recover my computer and all data on it.

    Just to describe what I have done, here are the details.

    Because of my concern about a failure of the motherboard, I bought a used/given new keyboard and an external SATA drive enclosure. I was not able to properly take possession of the car from my other laptop, but I was able to access the data in Mode without failure. With my data, I plugged the hard drive and the new keyboard in and started without problem.

    Thanks again,

    brent86

  • How to convert varchar to date datatype all insert or update in the table

    Hai All

    I need to convert to varchar type to date.

    I have two Tables T1, T2

    Structure of T1

    Code varchar

    Time varchar

    Date varchar

    Structure of T2

    Var EmpName

    Empcode var

    Date of the respondent

    Outtime date

    Intrinsically date

    Date of Introut

    Att_date

    Now I need to spend the time form T1 to T2 respondent, outtime, intrinsically, introut under certain conditions

    So now I need to convert Varchar to Date so that the insert or update

    I tried something

    Insert into T1 (code, respondent, att_date) values

    (To_date(Date|| dele de code temps, «hh24mi de mon-dd-yyyy»), att_date);

    OR update while

    Setting a day set Outtime T2 = To_date(Date||) Time, 'hh24mi mon-dd-yyyy') where...


    I got an error Ora-01861


    Concerning

    Srikkanth.M

    You did not show an example of your date or time values, control may be necessary to add a space between them, like

    To_date(Date || ' ' || time,'dd-mon-yyyy hh24mi')
    
  • How to remove usernames unwanted from appearing when you start to enter the user name?

    When I start to enter a user name, a drop-down list of names is displayed. How can I remove a name in this menu?

    Hello rs27, point culminating / touch, do not click on the user name that you want to remove, and then click on remove the keyboard.

    Thank you

  • How to configure Forms 11 g R1 when you selected just install

    Hello

    I try to install Forms 11g R1 11.1.1.4 on windows server 2008 R2 64-bit, then when the installation forms 11g R1 11.1.1.2 I chose "just install not set up" because I have patch later, after that I started to install the hotfix, the value form 11.1.1.4. These facilities where it is good, but now, how to set up forms? I mean how to create the forms service area, reporting service? :)

    Thanks for your help.
    Carlos

    Carlos,
    See the Oracle Documentation (http://docs.oracle.com/cd/E23943_01/install.1111/e10421/install.htm). After an installation/patch, you can start the congifuration Wizard by executing the file ORACLE_HOME\bin\config.bat (\oracle\Middleware\Oracle_FRHome1\bin\config.bat).

    I hope this helps.

    Craig...

  • How can I close Safaricloudhistory and Safarinotification when you are prompted during the uninstallation of cs5

    I'm trying to uninstall my CD of Creative Suite CS5 version.  I now have the cloud of CS6 version.  Once I'm on uninstall section I'm prompted to close the following applications: "Safaricloudhistory and Safarinotification" neither of which I am able to find nearby and therefore unable to continue my uninstall.

    Help, please.

    Thank you

    J

    The steps in the Correct link and applies to Yosemite as well.

    Launch the activity monitor of Applications > utilities.

    Or Finder > go > utilities.


    Once the activity monitor is running, check for Safari process and force them to leave the same.

    When you click X button marked, it will encourage Quit option and force him to leave. Click the option to force out.

  • ORA-00902 error invalid data type when you use CAST in the PL/SQL Package

    I'm getting ORA - 00902 Datatype not valid error when you use cast in getEmpValues (see code below) method in the package I created.
    I don't know what is the cause of the error. Any help would be appreciated



    CREATE OR REPLACE PACKAGE TEST. TEST_PKG AS

    ARRAY TYPE MyTableType IS NUMBER;
    TYPE REF_CURSOR IS REF CURSOR;

    FUNCTION str2tbl (p_str IN VARCHAR2)
    RETURN myTableType;

    PROCEDURE getContactValues (p_ParameterString IN VARCHAR2, p_Cursor1 to REF_CURSOR);

    END TEST_PKG;



    CREATE OR REPLACE PACKAGE BODY TEST. TEST_PKG AS

    FUNCTION str2tbl (p_str IN VARCHAR2)
    RETURN myTableType
    AS
    l_str LONG default p_str | ',';
    l_n NUMBER;
    myTableType l_data: = myTabletype();

    BEGIN
    LOOP

    l_n: = INSTR (l_str, ",");
    WHEN the OUTPUT (nvl(l_n,0) = 0);
    l_data.extend;
    l_data (l_data.count): = ltrim (rtrim (substr(l_str,1,l_n-1)));
    l_str: = substr (l_str, l_n + 1);
    END LOOP;
    L_data return;
    END;

    /*
    p_ParameterString is a string of the form 3, 6, 8, 9'
    */

    PROCEDURE getEmpValues (p_ParameterString IN VARCHAR2, p_Cursor1 to REF_CURSOR)
    AS


    BEGIN


    OPEN FOR P_Cursor1

    SELECT *.
    FROM EMP

    WHERE EMP_ID IN (SELECT *)
    OF THE (SELECT CAST (TEST.) (TEST_PKG.str2tbl (p_ParameterString) as myTableType) double)

    );
    END getEmpValues;

    END TEST_PKG;

    ARRAY TYPE MyTableType IS NUMBER;

    This type must be created outside of the package as a SQL type if it must be used in a select statement.

  • How to create a date field that is fixed at the signing?

    Hello

    I created a series of PDF forms on Adobe Pro XI which are designed to be filled out using Adobe Reader (where are saved as Adobe Reader Extended). Once the form is complete there are fields of signature that the user who digitally sign then it disables the specific form fields of editing more far. Next to the signature field, I have a date field that, at present, is using JavaScript to automatically generate the date of business at the opening. However, the question that I have is that I want this field date which will be fixed when the form is signed, rather than update again when the form is opened. Is this possible?

    The document JavaScript that I use to generate the date currently is:

    this.getField("Date1").value = util.printd ("dd/mmm/yyyy", new Date());

    But obviously, this is independent of the signature field.

    How can I create a date field which is set by the current date at the signing?

    I am very new to Adobe in general so I don't have much of an idea about how to go about doing this. Could someone please help me to do it if possible?

    Thank you

    KC

    Go to the properties of the field of Signature and on the signing tab, add

    Copy the following code in the section previous "this script is run when the field is signed.

  • Date field

    How can I put a date field in blackberry qml?

    I did a textfield, but can't find any inputtype as date.

    You must use a selector of...

    http://developer.BlackBerry.com/native/documentation/Cascades/UI/pickers/DateTimePicker.html

Maybe you are looking for