Submit Button Hidden, Visible, Disappear

I need to have a submit by email button that is hidden until a box is checked. Then once the user clicks the submit button then both fields disappear.
My check box is named: StaffSubmission
My submit by email button is named: StaffSubmit
Thank you for helping

If formcalc:
in the change event of the checkbox put:
if ($ == 1) then
StaffSubmit.presence = "visible"
else
StaffSubmit.presence = "hidden"
endif
in the click event of the button put:
StaffSubmission.presence = "hidden"
$.presence = "hidden"
in the docReady event of the button put:
if (StaffSubmission == 1) then
$.presence = "visible"
else $.presence = "hidden"
endif

Similar Messages

  • Keeping Submit button always visible

    I have a huge dynamic form that scrolls down. I want to know if it is possible to keep the submit button that is shown at the top of the page to be always visible even if one scrolls down the page. I am using designer 8.
    Thanks

    If formcalc:
    in the change event of the checkbox put:
    if ($ == 1) then
    StaffSubmit.presence = "visible"
    else
    StaffSubmit.presence = "hidden"
    endif
    in the click event of the button put:
    StaffSubmission.presence = "hidden"
    $.presence = "hidden"
    in the docReady event of the button put:
    if (StaffSubmission == 1) then
    $.presence = "visible"
    else $.presence = "hidden"
    endif

  • Submit button hidden when update to version reader X

    Hi,
    I use an interactive Form of Acrobat that can sent by Email after activate the submit button. But when I did an update Adobe reader to version X, the submit button and purple toolbar dissapeared.
    Version 8.x and 9.x of Adobe reader did not have this problem. Please can someone help me.
    Regards,
    Ron

    Don't shoot the messenger, but it seems to have fixed itself (I did reboot my Bold last night!).  Is this magic or is there really a logic to this?

  • I am trying to set up my newly purchased Apple TV but when I enter my network password while setting up, I am not able to enter the Submit button, any idea how to hit the visible submit button that is visible on screen but not responding?

    I am trying to set up my newly purchased Apple TV but when I enter my network password while setting up, I am not able to enter the Submit button, any idea how to hit the visible submit button that is visible on screen but not responding?

    You need to use the right arrow on the remote to go all the way to the right. The submit button will be highlighted and you can then press select on the remote to proceed.

  • Hidden Email Submit Button & Mandatory Check Boxes

    Hi guys
    I'm trying to get my form to only allow people to return the form (via email) once they have accepted the terms and conditions AND the privacy policy.
    Their acceptance of these is confirmed by 2 check boxes called acceptservicesterms and acceptprivacypolicy respectively. For each of these check boxes I have added this script to 'initialise':
    this.mandatory = "error";
    this.mandatoryMessage = "You must accept our Services Booking Terms and Conditions to request a booking";
    I have then set my email submit button (EmailSubmitButton) to 'hidden (exclude from layout)' and created a 'fake' email submission button in its place. The click event for the FakeEmailSubmitButton is scrpited as:
    if (acceptserviceterms.rawValue != "bookingtermsagreed")
    xfa.host.messageBox("You must accept our Services Booking Terms and Conditions to request a booking");
    else if (acceptprivacypolicy.rawValue != "privacypolicyagreed")
    xfa.host.messageBox("You must accept our Privacy Policy to request a booking");
    else
    EmailSubmitButton.execEvent("click");
    Where the 'on' values are 'bookingtermsagreed' and 'privacypolicyagreed' respectively.
    Unfortunately, this hasn't worked for me - I'm not sure if the javascript is completely correct, or if I have gone about this the right way. Can anyone shed any light on what I've done wrong please?
    Thanks in advance

    if (acceptserviceterms.rawValue != "bookingtermsagreed")
    in this line the field name is acceptservicesterms but u typed as acceptserviceterms - letter s missing.
    after this correction i am able to see the error messages.

  • My eBay pages don't work properly. There are parts missing. The symbols on the My eBay page have gone. The £ paid sign, checkout, feedback, and probably more. I can't list an item as the submit button has disappeared. It all works fine on IE.

    My eBay pages don’t work properly. There are parts missing. The symbols on the My eBay page have gone. The £ paid sign, checkout, feedback, and probably more.
    I can’t list an item, as the submit button has disappeared.
    It all works fine on IE. I’ve uninstalled and reinstalled Firefox, but still the same.
    How can I regain my missing bits please.
    Thanks

    Can you attach a [http://en.wikipedia.org/wiki/Screenshot screenshot]?
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).
    See http://kb.mozillazine.org/Websites_look_wrong
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Submit button disappears when returning to the quiz slide

    Hi everyone,
    We just upgraded from Captivate 4.0 to 5.5. I'm learning 5.5 differences from 4.0 and have one that I can't figure out.
    On the quiz slides, if the learner moves back and forward within the quiz slides, the quiz buttons are fine. However, if they click Back on the 1st quiz slide, then go forward to the quiz slide the submit button flashes briefly then disappears for that slide and all the other quiz slides. I can't find a setting to fix this.
    Any suggestions or thoughts would be appreciated. Thank you.

    Sounds like a quiz scope issue.  If you click back on the first quiz slide that would take you to the slide BEFORE the first quiz slide which is technically outside the quiz scope.  This usually results in Captivate locking the quiz.
    I haven't personally seen this button disappearing act but you can test whether quiz scope is the likely culprit by adding a scored click box to the first slide of the project, which will then extend the quiz scope out to that slide.  If this prevents your quiz slide buttons from disappearing, we know where the issue comes from.  That may mean you have still found a bug that needs to be fixed though.

  • Use CheckBox to make Submit Button visible

    I am making a form with LifeCycle Designer and want a check box that says basically "I accept these terms". Users have to check it before submitting. I thought perhaps I could make the submit button invisible and code the check box with something like
    if (this.getField("MyCheckBox").value; == 1)
    {EmailSubmitButton1.presence = "visible"};
    but I'm not sure of the script or where to place it to get it to work. Any ideas?
    Thanks,
    Karen

    View the following images for some help...
    1) http://img225.imageshack.us/my.php?image=designer1bg0.jpg
    You need to expand the code portion of the interface if you haven't already done so, by clicking on the arrow (part circled in red) shown in the image.
    2) http://img219.imageshack.us/my.php?image=designer2wb0.jpg
    When you have your object highlighted (in my example I dragged a button on, you should choose the checkbox on your form) choose "change" from the event dropdown.
    3) http://img225.imageshack.us/my.php?image=designer3ik6.jpg
    Enter your code in the provided space, make sure your language is set to JavaScript and not FormCalc (dropdown circled in red).

  • Next & Submit Buttons disappeared!

    The next & submit buttons disappeared on the last few pages of my form, please help me put them back!
    Perhaps the show/hide selection is off?
    Can that be placed in the save state without a condition, if so, how so, or what will a condition be that keeps it in the show state?

    Here's the Link to our imbedded FORMSCENTRAL form.
    https://www.voyagerautosales.com/financeform.aspx
    Windows Internet Explorer 9 Ver. 9.0.8112.16421
    The problem is that the SUBMIT BUTTON appears too early when the user has not answered all the
    questions in the form.

  • Help required with submit button

    Hi,
    I need a little help with the submit button. The user submits the form as PDf to a servelt using submit button. The form submitted is validated at server side. If there are any errors the error messages are to be displayed to the user as a part of Form.
    My approach was to have a hidden field present in the form. Once the error messages are recieved the field is to be populated with these messages and made visible true.
    Problem with my approach:
    1) How to send back data to the field using the servlet code which we have?

    Unless if you use a Webservice, sending data back to form from the Servlet may not possible.
    Once the form submits the data to the Servlet, the connection will be lost between the form and Servlet.
    But if you use a Webservice, you can trap the response and display it to the user.
    Other alternative to Servlet approach is, display a another page in the browser with the response.
    So the user after submits will be notified of the result in a new window.
    Thanks
    Srini 

  • Issue with Submit button

    Last October, I created a fillabe form via LiveCycle. I distributed the forms and they all worked initially on the receiver's end. The past couple of months, people have been informing me that the "submit" button has disappeared. Why would this happen? Even I have opened the form on my computer and the submit button is not there, even though it states in the purple bar at the top "to submit form by clicking submit".....Any ideas?

    Hi,
    this is the VBA code we are using.
    The below sheet is the report where user manually writes values and then another input form is attached to this report where the entered values get multiplied by 1000 and then this data gets sent to database.
    The values entered in the below report does not get submitted to database because, save button is grayed out. Only TIME dimension is active on this report to get the time period.
    SUBMIT button is created on the report tab and input schedule is hidden.
    Now the below screenshot is the migrated evdre input shedule where data from 1st report gets multiplied  by 1000 and then submitted to database.
    SUBMIT button is created on the report tab and input schedule is hidden.
    On the above lines, we have 2 more reports and 2 more input schedules in the same Input schedule. That is to say, we have 3 report sheets and 3 input sheets in 1 single report.
    SUBMIT button is configured on all the three report sheets and input schedule sheets are hidden.
    To reiterate the issue again, when we click on submit button the screen flickers and goes through all the reports and when data is submitted the screen appears to the same report from where submit button is clicked.
    Please let me know if you need more infromation.
    Regards,
    Ashwin.

  • Email submit button causing required error when all required fields are filled in

    It looks like if I have more than 1 instance of subform  added,  my email submit button triggers "..at least one required " error message when all required fields are filled-in.
    I toggle subforms between "visible" and "hidden (from layout)".  Any suggestion is appreciated.
    ralph

    The fields that are hidden should have the validate.nullTest property set to "disabled", something like;
    TextField1.validate.nullTest="disabled";

  • Invisible submit button with image rollover

    I have a need to combine a rollover image with a form submit
    button. I need the submit button to not be visible except for those
    that know where to look.
    I have a database query that displays rows of data. Each row
    has a checkbox to select that item, so the data table is in a form;
    the checkbox is a cfinput. In order to pass the parameters of the
    checked items, a submit button must be used to submit the form
    values.
    My need is for the submit button to be the rollover image.
    Only users that know where to find the rollover image will be able
    to submit the list of checked form values. "Regular" users
    shouldn't be in that area of the screen.
    So, a combined rollover image submit button is needed.
    Ideas? Thanks...Rick...

    document.yourformname.submit didn't work.
    But then discovered that the href value needs to be empty (or
    "#") to work. This code works: (rollover images with the submit()
    code):
    <a href="#"
    onClick="javascript:submit()"
    onmouseover="MM_swapImage('Image9','','images/change-meeting-date.png',1)"
    onmouseout="MM_swapImgRestore()">
    <img src="images/blank-hidden-area.png"
    name="Image9"
    width="111"
    height="11"
    border="0"
    id="Image9" />
    </a>
    When, in DW, you add the rollover image, you need to leave
    the href value empty. I suppose that lets the submit button use the
    <cfform action...> value as the results page, letting the
    form values pass to the results page.
    Now, the next step is to have two different rollover images
    with submits() that point to two different result pages, while
    still using one cfform. (Two submits in one form, each submit
    pointing to a different results page.)
    ...Rick...

  • Hide submit button in form

    Hi all,
    I have an interactive form with a submit button that i displayed online thru webdynpro for the user to key in data. And when user clicked on the submit button, i will validate the data in the webdynpro action handler, and will send out a copy of the same form as an attachment in email.
    But when sending this form in email, i do not want the email recipient to see the submit button when they open up the form to view. And the form should be in display mode as well.
    So 2 questions:
    1. how do i go about hiding the submit button and setting the form in display mode?
    2. For setting the form in display mode... i currently uses cl_wd_adobe_services create_pdf method to generate the xstring for email, so i can set the enable = ' '. Any other way to do this if i going to use the xstring from pdfsource of the interactive form UI element?

    Hi,
    For Hiding the UI elements in Interactive form try using Scripts (FormCalc).
    The script for hiding the Submit Button is:
    <path of the UI element in the Subform>.presence = "visible" / "hidden"
    The Script for making a field editable / read-only is:
    <path of the UI element in the Subform>.access = "readOnly" (Not Sure about the casing
    For more information, refer to the bolg:
    /people/juergen.hauser2/blog/2006/01/31/access-mode-and-presence-of-fields-on-adobe-interactive-forms
    Regards,
    Poojith MV

  • No submit button in distributed form - JavaScript help

    I have creted a from in Live Cycle Designer. After distribution submit button is not visible in Acrobat and Reader. I've looked at the form JavaScript and find out this part of code which probably hide submit button in Acrobat 9:
    showAutoGenSubmitBtn = function(bShow)
        var autoGenSubmitName = "%AUTO_GEN_SUBMIT_NAME%";
        var fld = this.getField(autoGenSubmitName);
        if (fld != null)
            var b= this.dirty;
            if (bShow)
                fld.display = display.noPrint;
            else
                fld.display = display.hidden;
            this.dirty= b;
    // Hide the auto-generated submit button for Acrobat/Reader >= 9.0
    if (app.viewerVersion >= 9)
        showAutoGenSubmitBtn(false);
    else
        showAutoGenSubmitBtn(true);
    I am not familair with JavaScript so I would apprecite if someone can help me how to edit it to make submit button visible.
    Below is a complete JaveScrip of mentioned form.
    Thanks
    //@@FORMSWORKFLOW auto-generated script
    AdobePatentID="B643"
    var AdobePatentID = "AdobePatentID=\"B643\"";
    // Show a dialog to ask the user's name and email during submit.
    askUserIdentity = function(doc)
        // string constants
        var dlgStrings =
            sDlgTitle:          "Send Form",
            sEmailLabel:        "&Email Address:",
            sNameLabel:         "Full &Name:",
            sSubmitLabel:       "&Send",
            sToLabel:           "To:",
            sSubjectLabel:      "Subject:",
            sSubjectContent:    "Submitting Completed Form",
            sAttachmentLabel:   "Attachment:",
            sFromLabel:         "From:",
            sErrorEmailRequired:"Please enter a valid email address.",
            sErrorNameRequired: "Please enter your name."
        var dlgElems = [];
        dlgElems[dlgElems.length] = {
            type: "view",
            align_children: "align_left",
            elements:
                    type: "view",
                    align_children: "align_row",
                    elements:
                            type: "static_text",
                            name: dlgStrings.sToLabel,
                            width: 80,
                            bold: true,
                            font: "dialog"
                            type: "static_text",
                            item_id: "sdto",
                            width: 270,
                            font: "dialog"
                    type: "view",
                    align_children: "align_row",
                    elements:
                            type: "static_text",
                            name: dlgStrings.sSubjectLabel,
                            bold: true,
                            width: 80,
                            font: "dialog"
                            type: "static_text",
                            name: dlgStrings.sSubjectContent,
                            width: 270,
                            font: "dialog"
                    type: "view",
                    align_children: "align_row",
                    elements:
                            type: "static_text",
                            name: dlgStrings.sAttachmentLabel,
                            bold: true,
                            width: 80,
                            font: "dialog"
                            type: "static_text",
                            item_id: "atch",
                            width: 270,
                            font: "dialog"
                    type: "gap",
                    height: 5,
                    width: 350
                    type: "static_text",
                    name: dlgStrings.sFromLabel,
                    bold: true,
                    font: "dialog"
                    type: "static_text",
                    name: dlgStrings.sEmailLabel,
                    bold: true,
                    font: "dialog"
                    type: "edit_text",
                    item_id: "emal",
                    width: 250
                    type: "static_text",
                    name: dlgStrings.sNameLabel,
                    bold: true,
                    font: "dialog"
                    type: "edit_text",
                    item_id: "name",
                    width: 250
                    type: "gap",
                    height: 5,
                    width: 350
                    type: "ok_cancel",
                    ok_name: dlgStrings.sSubmitLabel
        var desc = {
            resourceContext: "AcroForm",
            description:  {
                name: dlgStrings.sDlgTitle,
                elements: [
                        type: "view",
                        align_children: "align_left",
                        elements: dlgElems
        desc.initialize = function(dialog)
            var METADATA_ANNOT_NAME = "adhocFormState";
            var PROP_INITIATOR = "initiator";
            var initiator;
            var annot = doc.getAnnot(0, METADATA_ANNOT_NAME);
            if (annot != null) {
                var arrProps = new Array();
                arrProps = annot.contents.split(";");
                initiator = getProperty(arrProps, PROP_INITIATOR);
            var decodedFileName = unescape(doc.documentFileName);
            var initVars =
                sdto: initiator,
                atch: decodedFileName
            dialog.load(initVars);
        desc.validate = function(dialog)
            var values = dialog.store();
            if (values.emal == "") {
                app.alert(dlgStrings.sErrorEmailRequired);
                return false;
            if (values.name == "") {
                app.alert(dlgStrings.sErrorNameRequired);
                return false;
            return true;
        desc.commit = function(dialog)
            this.result = new Object;
            var values = dialog.store();
            this.result.name = values.name;
            this.result.email = values.emal;
        var ret = app.execDialog(desc);
        if (ret == "ok")
            return desc.result;
        else
            return null;
    askEmailClient = function(doc)
    // string constants
        var dlgStrings =
            sDlgTitle:      "Select Email Client",
            sDlgText:       "Please indicate the option which best describes how you send mail.",
            sDesktop:       "&Desktop Email Application",
            sDesktopDesc:   "Choose this option if you currently use an email application such as Microsoft Outlook Express, Microsoft Outlook, Eudora, or Mail.",
            sInternet:      "&Internet Email",
            sInternetDesc:  "Choose this option if you currently use an Internet email service such as Yahoo or Microsoft Hotmail. You will then need to save your form and return it manually to [email protected] using your Internet email service."
        var dlgElems = [];
        dlgElems[dlgElems.length] = {
            type: "view",
            align_children: "align_left",
            alignment: "align_fill",
            elements:
                    type: "static_text",
                    name: dlgStrings.sDlgText,
                    width: 350,               
                    font: "dialog"
                    type: "radio",
                    name: dlgStrings.sDesktop,
                    item_id: "rad1",
                    group_id: "rgrp",
                    bold: true,
                    font: "dialog"
                    type: "view",
                    align_children: "align_top",
                    elements:
                            type: "gap",
                            width: 20
                            type: "static_text",
                            name: dlgStrings.sDesktopDesc,
                            wrap_name: true,
                            width: 342,
                            font: "dialog"
                    type: "radio",
                    name: dlgStrings.sInternet,
                    item_id: "rad2",
                    group_id: "rgrp",
                    bold: true,
                    font: "dialog"
                    type: "view",
                    align_children: "align_top",
                    elements:
                            type: "gap",
                            width: 20
                            type: "static_text",
                            name: dlgStrings.sInternetDesc,
                            wrap_name: true,
                            width: 342,
                            font: "dialog"
                    type: "gap",
                    height: 5,
                    width: 350
                    type: "ok_cancel",
        var desc = {
            resourceContext: "AcroForm",
            description:  {
                name: dlgStrings.sDlgTitle,
                width: 250,
                elements: [
                        type: "view",
                        align_children: "align_left",
                        elements: dlgElems
        desc.commit = function(dialog)
            this.result = new Object;
            var values = dialog.store();
            this.result.send = values.rad1;
            this.result.save = values.rad2;
        var ret = app.execDialog(desc);
        if (ret == "ok")
            return desc.result;
        else
            return null;           
    AdobePatentID="B643"
    // set a new property value to a property in the specified array.
    setProperty = function(arrProps, propName, propValue)
        var i;
        var bSet = false;
        for (i = 0; i < arrProps.length; i++) {
            var propParts = new Array();
            propParts = arrProps[i].split(":");
            if (propParts[0] == propName) {
                propParts[1] = propValue;
                arrProps[i] = propParts.join(":");
                bSet = true;
                break;
        if (!bSet)
            arrProps[arrProps.length] = propName + ":" + propValue;
    AdobePatentID="B643"
    // get the value for a property in the specified array.
    getProperty = function(arrProps, propName)
        var i;
        for (i = 0; i < arrProps.length; i++) {
            var propParts = new Array();
            propParts = arrProps[i].split(":");
            if (propParts[0] == propName) {
                return propParts[1];
        return null;
    AdobePatentID="B643"
    showAutoGenSubmitBtn = function(bShow)
        var autoGenSubmitName = "%AUTO_GEN_SUBMIT_NAME%";
        var fld = this.getField(autoGenSubmitName);
        if (fld != null)
            var b= this.dirty;
            if (bShow)
                fld.display = display.noPrint;
            else
                fld.display = display.hidden;
            this.dirty= b;
    // Hide the auto-generated submit button for Acrobat/Reader >= 9.0
    if (app.viewerVersion >= 9)
        showAutoGenSubmitBtn(false);
    else
        showAutoGenSubmitBtn(true);

    I'm distributing the form in Acrobat Pro 9.
    I created the form in Live Cycle Designer.  Save, then open in Acrobat pro.  Extend Features to Acrobat Reader, click the drop down box on Forms and hit distribute.  I save a local copy.  When I open the distributed form the buttons do fall silent, the Submit Button on the purple line up top still works, but that doesn't appear in reader and the people who will be completing the form all use reader.  Any suggestions for a fix?
    I'd like to distribute because that automates the tracking.  It works undistributed.

Maybe you are looking for

  • Safari doesn't load pages properly

    I'm developing a website but I'm having problems with Safari. So far I've tested the website as follow: PC: IE 6, 7, 8 FireFox Mac: Safari FireFox Where not specified the browser's version is the latest. The website is at http://www.douglasinscotland

  • AddMouseListener to FilePane in JFileChooser

    I'm having problem in adding a MouseListener to FilePane of JFileChooser. My end goal is: show my own PopupMenu in FilePane, but I can't handle the MouseEvent, FilePane always show its default PopupMenu, bypass my mouse handler. I really need someone

  • Trouble viewing QT files shot in HD -audio is fine though

    I am having some issues with some HD video I am attempting to edit. It was shot on 3 cams, 2 in 1080i50 and one in 720p. The shooter loaded all of the files into what appears to be quicktime. Only thing is, I pull up the video and all I get is a blan

  • Which sense have the file lkORACLESID in $ORACLE_HOME/dbs?

    Hallo, installing a new instance will create a file like lkORACLESID in $ORACLE_HOME (example lkORCL). which sense have this file? can it put to another place? and when how? thanks in advance. Reinhard

  • Windows 8.1 Login

    I am stuck in the windows 8.1 login. Unfortunately I left a digit off the email address. (My sons - I am setting up a laptop for him.) I have since fixed the email address. When I upgraded to windows 8.1 I eventualy got to a screen asking me to log o