Adding CC to custom 'Submit' button

With much help from here in the past (thank you!), we've been using a form with a custom submit button, and I'm needing to add a cc.  I did add a var vCC = [email protected], but no luck in placing it within this event properly.  What is the right way to add an additional cc?  Thank you!
event.target.submitForm({cURL:"mailto: "+ vEmail +"?subject=" + vSubject +"&body=" + vBody,cSubmitAs:"PDF",cCharset:"utf-8"});obj.close();

event.target.submitForm({cURL
:"mailto: "+ vEmail + "?subject=" + vSubject +"&body=" + vBody + "&cc=" + vCC, cSubmitAs:"PDF",cCharset:
"utf-8"});

Similar Messages

  • Form Alignment issue in table: Custom submit button

    Yesterday as I was putting together a "check availability"
    form within a horizontal table, I ran into difficulties getting the
    form to vertically align in the middle, it kept aligning to the
    top. I was able to correct the problem using the following CSS:
    <style>
    form {
    display:inline;
    </style>
    Now this morning I was switching the generic "submit" button
    with a custom gif button using this code within the form:
    <input type="image" name="submit" src="image.jpg"
    width="110" height="20">
    This worked fine, but every part of the form is aligning to
    the middle correctly except the custom button which is sticking to
    the top. I'm completely lost on how to resolve this issue. If
    anyone has any information on how I can fix the button to align
    with the rest of the form I would greatly appreciate your help. I
    am a beginner at adjusting code.
    Thank you so very much!

    Hello Ram,
    > No custom coding.
    The current forum is for developers. That's why I'd recommend asking non-programming questions in the
    Using SharePoint Designer, InfoPath and Other Customizations forum instead.

  • Submit Button error - Data Connection failing

    I am the form designer and am currently testing a new form I have created, however there is an error with my submit button which Saves the form to SharePoint, I receive the following error message:
    InfoPath cannot submit the form.
    An error occurred while the form was being submitted.
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml" is checked out for editing by DOMAIN\MyUserName.
    The operation completed successfully.
    The form is not checked out to me, or open by anybody else, also check out functionality is not forced on this SharePoint library.
    On searching forums I have read about using friendly server names and I am using the server's name in the URL, i.e.
    http://servername instead of the alias
    http://intranet - this had solved the problem in other forms, but not this one.
    Looking closely at the rules on my submit button, the following actions occur:
    1st rule checks the selection of certain fields, if the conditions are right it will set the values of 3 different fields.
    The 2nd rule saves to SharePoint using a data connection (please note this data connection works fine on different submit buttons in different views). The second rule also closes the form.
    To test where the error occurs I added a series of actions to display messages, and the problem is definitely on the data connection rule.
    The data connection is to save to a Sharepoint library, using a field called "filename" as the file name. The data connection allows overwrites. The file name is set the first time a file is saved (it has a condition which checks a field which
    gets set upon any save event - if this field is set to 0 filename gets set and this field gets set to 1 - because this field is now equal to 1, the filename field will nwever get set again).
    I have 2 views on the form, one named phase 1, the other named phase 2. When the custom submit button is pressed on the phase 1 view, my data connection works, but on the save 2 view, the exact same data connection fails with the error message above.
    I am using Windows 7, InfoPath 2010, SharePoint 2010, InfoPath filler form).
    In Windows XP, for a different user, the error messaeg is a little different, and the form does actually save:
    InfoPath cannot submit the form
    An error occurred while the form was being submitted
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file is in use by another application or user.
    As I said the form does actually save its changes but still throws up this error message which will be very confusing to end users.
    I've exhausted all avenues that I know of to find the cause of the error messages and I'm at a loss, please help!
    Thanks,
    Ben

    bgvball14. I found that the error was down to the friendly name / server name issue. I have made sure that everything uses the friendly name e.g.
    http://intranet instead of the servername e.g.
    http://servername. I made sure the data connection and all options in the publishing wizard are set to the friendly name. There were still some forms that didn't work though - this was because when trying to fix this problem I had switched several times
    between using the friendly /server names and some forms were looking for the template with the server name (these didn't work), other forms looked for the friendly name (these did work).
    What I did was open my form library in windows explorer view and then drag each form into Notepad so I could see the source code. On the top two lines I could see the reference to the template and in some cases the template weas referenced using the server
    aname, which I changed to the friendly name and this worked. I did have to check every form in the library. Basically, everything should reference the friendly name (e.g.
    http://intranet.
    Ben

  • How do you customize a submit button in comments module?

    Hi,
    I want to create a customized submit button for the comments module. Right now, the submit button shows up as a css button, i.e. an ugly gray square:
    http://www.graeagle.com/_blog/Graeagle_World/post/Artistic_Musings_in_Graeagle/
    I have a button here http://www.graeagle.com/images/btn_submit.jpg
    that I would like to swap out with the current css button.
    Alternatively, I would be happy with just the factory system button for the OS.
    I have looked at the modulestylesheets.css file and it appears the 'cat_button' style controlled the submit button.
    I have tried to modify the css, yet nothing changed.
    The issue seems to be only with the comments submit button since I have successfully changed the button on all my web forms for this site.
    I have searched the KB but have found no real guide. So, I would most certainly appreciate a step by step approach since I'm coming up empty.
    Cheers,
    Michael

    Hey Liam,
    Thanks so much! The thing I neglected was changing the code on the Blog Details Module Template. So, from your links, I added new css code to my modulestylesheets.css file with the following:
    submit
    .submitBtn {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 18px;
        color: #FFF;
        padding: 5px 40px 5px 40px;
        border: 1px solid #999;
        text-shadow: 0px 1px 1px #666;
        text-decoration: none;
        -moz-box-shadow: 0 1px 3px #111;
        -webkit-box-shadow: 0 1px 3px #111;
        box-shadow: 0 1px 3px #111;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        background: #333333;
        background: -moz-linear-gradient(top, #333333 0%, #4F4F4F 50%, #333333 51%, #33333B 100%);
        background: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#33333B), color-stop(0.4, #4F4F4F), color-stop(0.5, #111111), color-stop(.9, #33333B), color-stop(0.9, #33333B));
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#33333B', GradientType=0 );
        cursor: pointer;
    .submitBtn:hover {
        border: 1px solid #FFF;
    Then under the Site Manager:Module Templates:Blog Post Details Layout I changed the following html code: 
    <input type="submit" value="Submit" /> 
    TO  
    <button type="submit" class="submitBtn"><span>Submit</span></button>
    And it worked like  a charm!
    I wanted to post this here for future reference and help.
    Again, thanks for the great tips!
    Cheers!

  • Hiding submit button from an Infopath form in a Sharepoint Library document

    I have a Sharepoint document library that is setup to collect submissions from a form that faces the public.  Because it faces the public it needs to have the standard/familiar submit button.  The problem is that when the form is submitted to the
    document library and the document is reviewed, it still contains the button - which will be confusing/complained about by staff.
    I attempted to use a hidden boolean field that would switch to "True" when the submit button is clicked and then use conditional formatting to hide the button before submitting through the data connection.  But apparently, there is no way
    to move the conditional formatting rules after the action rules that make the boolean swith.
    I then tried to switch to a new view that was identical to my Main view before submitting but the button is still appearing on the submitted documents in the form library.
    I'm wondering if anyone has experience with this?  I have to think I'm missing something obvious.

    Please try this -
    https://social.msdn.microsoft.com/Forums/en-US/5767ff6c-764d-479c-904e-22e40a697c6c/how-to-hide-custom-submit-button-after-form-has-been-submitted-infopath?forum=sharepointcustomizationlegacy
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Contact Form SVG Submit Button...

    I am using the Contact Form widget in Muse. I have a custom submit button in SVG format, but if I add an image to fill the button part of that form it pasts it as an image not SVG - the add image in fill also makes it an image too. Is there a way I can define an SVG on the page as the submit button portion of the contact form?
    Thanks!

    jonbradley wrote:
    then using the 'Distribute forms' command - is that anything to do with it?
    I think so.
    Use instead:   Advance > Enable Usage Rights in Adobe Reader...
    Then save it.
    I never use that Distribute command.

  • Form distribution submit button: how to avoid this or remove it when it's automatically inserted?

    I've form(s), created in Acrobat X Pro, that I want to put on a web page for download and fill in.  I tried this with FDF but... because I have a number of forms it proved very time consuming to match the FDF data to the relevant form.  I'm now trying to do this through acrobat,com and form distribution.
    Help pages for Acrobat X Pro state;
    "Home / Using Acrobat X Pro / Forms
    Setting action buttons
    Add a submit button
    When you distribute a form, Acrobat automatically checks the form. If it doesn’t find a submit button, it adds a Submit Form button to
    the document message bar. Users can click the Submit Form button to send completed forms back to you. If you don’t plan to use the
    Submit Form button created by Acrobat, you can add a custom submit button to your form."
    My form already has a submit button (whose target I changed to acrobat.com) which also submits to PayPal for payment and pops up a warning message to avoid (hopefully) double submission etc. (which works OK in the undistributed form) but the wizard doesn't detect this and inserts an additional submit button - top right, in the purple area.
    How can I avoid this or remove it?
    Acrobat X Pro
    Win 7 32 Ult

    *Image Block: https://addons.mozilla.org/firefox/addon/image-block/

  • Customise the email submit button with custom email, cc, bcc, subject and body - almost working!!

    Hi
    I have been working on trying to customise the email submit button to custom entry email address, cc, bcc, subject etc etc
    You can use the pre-submit function on the email button
    I am using the following code:
    this.event__click.resolveNode("#submit").format = formatlist.rawValue;
    this.event__click.resolveNode("#submit").target = "mailto:"+customemail.rawValue+"?subject="+subject.rawValue+"&cc="+cc.rawValue+"&bcc="+bcc.rawValue+"&body="+body.rawValue;
    THis is picking up values from a dropdown and a series of text boxes the values of each area.
    This works beautifully except for the subject area. For some reason teh subject area copies the entire srting from the subject onwards, all other areas (cc & bcc & body) all only copy the value assigned to its function.
    Any thoughts
    Feels like a bug in the coding but it may also be intentional.
    Thanks

    I believe that there was a bug logged for this issue, here is a workaround.
    Add a regular button to the form used to execute the EmailSubmit button  (you can make the EmailSubmit button invisible)
    On the click event of the "newly added" regular button add your script
    NameOfEmailSubmitButton.event__click.resolveNode("#submit").target = "mailto:"+customemail.rawValue+"?subject="+subject.rawValue+"&cc="+cc.rawValue+"&bcc="+bcc.rawValue+"&body="+body.rawValue;
    NameOfEmailSubmitButton.execEvent("click");

  • Is it possible to set up a form with a submit button where the data in the fields gets added to an existing excel file, just like 'collect response' but without connecting to the internet?

    I have a form that I want to use to collect peoples information with a submit button. I am trying to get the data that gets inserted to be added to an existing excel doc when the submit button gets hit, the form then resets and someone else can fill in the same form, hit submit and his data gets added to the existing data in the same excel doc. It is basically the same as the 'collecting response' option but without having to be online. The form is going to be used at a boat-show and I am going to get people to fill it out on an iPad. Does anybody know if this is possible?

    You could connect a bunch of 3700s to each computer and do this . 
    Or...since you're the one who monitors the monthly limit, you could restrict an individual's internet access once you see that you guys are coming too close to the cap. 
    I don't work for Cisco. I'm just here to help.

  • Captivate 8 - submit buttons/images no longer showing on devices after adding text with javascript

    I'm working on a Captivate 8 project to publish to devices through PhoneGap. This is working successfully on iPhone and Android so far. I have modified the quiz so I have 2 types of quizzes with 3 levels each without the final score showing at the end (they have to get the answer correct to move on to the next question).  The submit buttons and image I added to each slide has been working perfectly until I added a text caption with a variable to show "Q X of 6" for each question, with X being a variable that increments by 1 for each slide and then I have another script at the end of each level to reset the variable back to 0.  This is working, however the submit button/success message and image on each slide is now not showing.  The submit button appears to still be on the screen as I can click in the same area where the it should be and it works but appears to be faded completely out, and the success message now shows so lightly I can hardly see it. My image does not show at all now.  I've checked the timeline and they are all set the same, to appear for the rest of the slide.  Any ideas?

    actually I think it might be an issue related to upgrading my Mac from Mavericks to Yosemite as the app was working perfectly before. I stripped all the javascript off and repackaged and it's having the same issue so I don't think it's the javascript. I'm going to keep looking into this.

  • MS CRM 2015 Adding Custom RIbbon button in dashboard and Changing Colors

    Hi,
    I am Looking for customization in MS Dynamics CRM 2015 and want to Add Custom Ribbon button in dashboard and Changing Colors of that ribbon using customization.xml i am new to crm 2015 and only know how to import export solutions.
    Regards
    Irfan

    Hello Irfan,
    For adding a custom button please refer this blog
    https://community.dynamics.com/crm/b/aeonnexuscrm/archive/2014/10/21/ms-crm-2013-adding-custom-ribbon-button-in-dashboard.aspx
    And for changing colors in Chart
    https://crmchartguy.wordpress.com/2012/08/23/palette-custom-colors-in-charts/
    Hope this helps!
    Regards, Abhishek Bakshi If you find this post helpful then please Vote as Helpful and Mark As Answer. Check my blog on https://mydynamicscrmblog.wordpress.com/

  • Custom Web Auth - Missing "Submit" Button

    I have scoured every topic I can get my hands on here at NetPro regarding custom web authentication. I am currently supporting a customer that MUST use a custom web page for two reasons:
    1. Cosmetically, and rightfully so, they would like to use their own logo. Well, why not just upload the custom image, you say? See point 2...
    2. Their custom AUP is beyond the allowed 2047 characters in the default template.
    So I used the default internal template for a test login, and viewed the source to grab the HTML code. I know how to read HTML, so I began commenting out the sidebar, text, and headers that I didn't want. I then inserted the custom logo and AUP text. Visually, the page is fine. However, when I preview the page, the "Submit" button is completely missing. This is true both locally, as well as when it is uploaded to the controller. I also uploaded from the controller the 'loginscript.js' file by selecting file type 'configuration' and inputting the name 'loginscript.js'. I am including that information as well because I know other people have posted asking how to get that, and I haven't seen anyone respond with such instructions. I figured it out on my own after trial and error. If it can be obtained via WCS, it would be nice if someone would post that (other than the same method I used, simply using WCS as the management tool instead of direct controller access). My controller is running code 4.1.185.0, same as my customer's controller. I modified the reference for the javascript source from src="./loginscript.js" to simply src="loginscript.js" because I am putting the script and the login.html file in the same directory. If there is a different directory structure required, I haven't found any documentation saying so other than another NetPro post indicating "Web Authentication_files" folder (whatever that means)? I also noticed that some folks are saying that such a page would have to be run on an External server. If so, why?
    Regards,
    Scott

    Web authentication files are stored in Web Authentication_files directory which controllers can recognize. . If you want to use a different directory it is used on External Web server so that there is no conflct in the storage location.

  • Modify User (OIM 11gR2 PS1): How to enable "submit" button for custom udf fields?

    I made some new attributes following oracle documentation for create user, modify user, and view user details forms. create user and view user details are working fine, but I'm not being able to copy/paste the following code in custom modify user attributes to enable the submit button for modify user form change: #{pageFlowScope.cartDetailStateBean.attributeValueChangedListener} . Any ideas? Thanks.

    Export the sandbox and edit userModifyForm.jsff to set value change listener property for the new attribute as below
    valueChangeListener="#{pageFlowScope.cartDetailStateBean.attributeValueChangedListener}"
    http://docs.oracle.com/cd/E27559_01/admin.1112/e27149/customattr.htm#autoId4

  • Sample Custom Bean with Override Submit button

    Does some one have a sample code with an override logic for button.
    Please do not share the code of the Dev Guide and the OIM assets published.

    I have created a Custom Managed Bean, which is associated with My Information Page.My Bean reads a UDF field which has a comma seprated value of EMails and populates a drop down list on the My Information Page.
    This works fine. Now the next step is to implement the value change listener which catches the change/selection done on the drop down list and overriding of Apply Button to save the selected field on User's profile.
    I am not able to do it,even after spending quite bit of time on this. Has any one done something similar and can share code.I need code for Value change Listener and Override Submit button.
    The code which is published in assests page and Dev Guide is not working.
    My Submit button code is
    public void submitActionValidator(ActionEvent actionEvent) {
    String methodName="submitActionValidator";
    System.out.println("Inside"+methodName+"**********");
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    System.out.println("Inside" methodName"2**********");
    // Get the sepecific list binding
    JUCtrlListBinding listBinding = (JUCtrlListBinding)bindings.get("Custom Dropdown");
    System.out.println(methodName+"MNSCUInside SubmitAction3 **********");
    // Get the value which is currently selected
    Object emailSelected = listBinding.getSelectedValue();
    System.out.println(methodName+"MNSCUInside SubmitAction Avlidator***********************************");
    // emailSelected =
    // (RichSelectOneChoice)actionEvent.getSource();
    System.out.println(methodName+"MNSCUemailSelected***********************************:"+emailSelected);
    if (emailSelected != null) {
    preffemail = emailSelected.toString();
    System.out.println(methodName+"preffemail***********************************"+preffemail);
    FacesContext facesContext = FacesContext.getCurrentInstance();
    FacesUtils.setAttributeBindingValue(EMAIL_ATTRIBUTE,
    preffemail);
    // execute original submit button action listener
    MethodExpression originalActionListener =
    FacesUtils.getMethodExpressionFromEL("#{backingBeanScope.MyInformationUIBean.applyButton}",
    null,
    new Class[] { ActionEvent.class });
    originalActionListener.invoke(FacesUtils.getELContext(),new Object[] {actionEvent});
    System.out.println("Exit methodName **********");
    }

  • Can not keep drawable signature option in reader on a form with a mailto: submit button added.

    I hope someone has run into this.  I have acrobat 11.0.10 to create fill-able forms and reader 11.0.10 to view and fill them.  Do to the nature of the forms a drawn signature is required and is available right up until I add a submit button with a mailto: action.  Then all that is available in the reader is the digital certificate.  I should add that I save the form without reader extensions.  Is there a way to add the auto-adressed mailto function for the person filling the form and still keep the drawable signature option for signing?

    - is it possible to have more than one form on the page. If so how do
    I determine which form is submitted isDefined('form1'),
    isDefined('form2') does not seem to work,
    /quote
    Yes.
    - if there are two buttons in the form how can I tell which one was
    preses as both seem to return true when tested with isDefined()
    /quote
    Give the buttons different name attributes. On your action page check
    with StructKeyExists(Form, "name_of_first_button") and
    StructKeyExists(Form, "name_of_second_button") which one was pressed.
    Mack

Maybe you are looking for

  • How to delete the old code in the EXIT_SAPLRSAP_001

    Hi All, In R3 system, I wrote an exit for 2LIS_11_VAHDR  by using T-code CMOD in the function exit EXIT_SAPLRSAP_001 and the code does not meet my requirement today i want to delete the code and i will write the fresh one. now my problem is i am not

  • Error message given... cannot open itunes any more???

    Hi I tried to reinstall itunes but now whenever I try to open or gain access to my itunes library it will not allow me? It gives me a screen where it asks if I want to "reinstall" or "repair" itunes, but whatever one of these options I choose I get a

  • Attachment with Notification

    We have our document management system in PowerBuilder. We have standalone Oracle Workflow 2.6 on RS6000. We want to use Workflow for approval/ rejection process. I am using Workflow APIs inside powerbuilder. We want to send document as an attachment

  • Installing adobe CS5 Fireworks, Exit Code 7?

    Hi there, So I just recently tried to open my copy of Fireworks (never used it before) and it gave me an error saying something about the parameters not working, so I decided to install and reinstall.  Unluckily, my computer is now giving me the erro

  • Upgraded to Lion. Error turning off Legacy File Vault

    I want to use the new file vault so homefolder files are encrypted in my time machine backup. When I was prompted in System Preferences, I chose to "turn off legacy file vault." After the passwords, etc., the system works for a while and has just ret