Email submit button using drop down boxes, cc field and
I have a form that I would like to have the employees use a drop down box that already exists on the form with names and email addresses and use those names in the to field of an email submit button. Also, I do have a static cc: address in teh cc field and for the subject of the email to use an existing field such as the name field as the subject of the email and attach the form to it.
I tried that but it does not seem to be working. I am a JavaScript Novice. I am trying to use the mailto field based on email addresses in a dropdown box, a static cc field like cc: [email protected] and for the subject to be based on the company name field on the form. But before all of that I want to make sure all the required fields are filled out. help I have been working on this for over a year. It may seem simple but it's not working.
Similar Messages
-
Using Drop down box in a table control
Hi,
I'm new to ABAP. I'm trying to use drop down boxes as fields inside a table control.Im using 2 fields (f1 and f2). I want to dynamically populate values in f2 based on f1 i.e once i choose a value in f1 and click on f2 , it should give me a list of values in f2 based on the value of f1. f1 and f2 are from different tables.
what i have done : i am able to populate values in f2 (based on the value of f1)
Problem::
1. Once i choose a value in the field f1, the value is not remaining in the field. Once i choose, the value blinks for a while and goes off ! ... ( my guess :: PBO is clearing it )
2. After i choose a value in f1 in the first row, the corresponding values in f2 are getting populated in all the rows.Hi!
For your first problem: Try to handle normal field (without table control) first.
In PAI, you have to move value from dynpro field to your program field. In case of tables, you have to modify corresponding line of internal table.
Then next PBO will read updated value and screen display doesn't loose any longer changes.
In case of identical naming of screen fields / global fields in program, some movements are done automatically by system based on this naming. That's of course not possible with internal tables, so try a global field with a name different to field on screen to see the behavior.
For your second problem: I guess, your struggling with a global work area of your internal table, which is not correctly filled with screen values for each time -> once filled, all lines changed.
Regards,
Christian -
Poor performance when using drop down box on web report
We are using dropdown box functionality in web reporting to allow easy selection of characteristics values. We have 4 dropdown boxes
that represents Region, Area, Country and division.
We need to use booked_values = 'Q' to show only relevant values for selection in the dropdown. However the issue is takes a long time for results to appear
on the template. Read from Fact table is quick but process of deriving drop down values is very slow.
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="DROPDOWNBOX_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="BORDER_STYLE" value="BORDER"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="IOBJNM" value="ZPC_ORG14"/>
<param name="BOOKED_VALUES" value="Q"/>
<param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1"/>
ITEM: DROPDOWNBOX_1
</object>
Do you have any suggestions on how to improve performance on drop down?
Thanks, JayDear Jayant Dixit,
1) If the values in the drop down box....are NOT dependent on user selection...then webserver can send them along with the first page....and cache them on client m/c...for multiple client/server dialogs....
2) If the values are changing based on what the user selected from a previous input......then...you need to do some research on how SAP Webserver could optimize the "network traffic"......For example: a) Apache webserver has a module that compresses the content on the webserver side and then send to the client...b)A Client browser plugin decompresses the received packet and displays appropriately....
3) We may need to research the latest SAP webserver capabilities....
Good luck, BB -
So im using this website, and im not sure if this problem occurs with other website because i havent come across any, but i select the drop down box menu, the options appear, i select an option, but it doesnt actually use my option it just goes back to default. This website is like a form filling interface so i need to save it at the end, but firefox doesnt allow me to do that either.
It works on google chrome fine so i doubt its a problem with the website. I have only just installed firefox 8.1 and havent changed any settings or applied any addons.Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
In Firefox 4 and later Safe mode disables extensions and disables hardware acceleration.
*http://kb.mozillazine.org/Safe_mode
Try to disable hardware acceleration.
*Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
If disabling hardware acceleration works then check if there is an update available for your graphics display driver. -
somehow I must've clicked a button that took away my drop down box when I go to use my Google search so different sites that I go to a lot I would always just click it when the drop-down box came up I would click again and hit search and you would bring that page up but even if I go to a site once I leave that I try to click and make the drop-down box come up again with the new search and it nothing happens so the problem is I need my drop down box to come back up to all the places that I visit kind of like a history of like I said I would just click and it would come up by itself now the drop-down box won't come up anymore so I need somebody to tell me what to do to bring my drop-down box back also I am new to computers so I don't know a lot so don't be real technical thanks for the help merry Christmas from Joe
It's not a matter of me assuming to restore it, once the error comes up, the only next step I can do is to restore it. I can't access any of the iphones settings in itunes or anything, it's a mandatory restore. If I just cancel the sync (before restoring) and disconnect the phone, all my apps crash on opening: aka unusable phone. So I have literally no choice but to restore every time the error shows up if I want my phone to work.
I have no idea where I may have duplicate files as it doesn't tell me, so if that is the problem (which I don't think it is) then I don't know where I have to go to delete the duplicates.
And the duplicate file error still doesn't explain why leaving iTunes to restore the phone doesn't work and me having to drag the window around. I know it sounds utterly ridiculous, my friend didn't believe me when I told him either but then I showed him and he was as confused as I am. If I just leave the restore to do its own thing at it's own pace, it will loa maybe 20% then fail for whatever reason. -
At the top of my Mozilla home page, it lists the current URL site, such as http://www.safeco.com, I am on plus the others in the drop down box. How do I delete them. Highlighting and hitting delete does not work.
I am using windows Vista 007 and Mozila 3.6.1.3Do those entries have a yellow star at the far right?
If they have then they are bookmarks. You can remove them if you open that link and click the star to open the Edit This Bookmark dialog and click the Remove button in that dialog.
* [[Clearing Location bar history]]
* [[Cannot clear Location bar history]] -
Email submit button created in LC ES2 causes Acrobat and Reader to crash
I've created a form in LC ES2, and included an email submit button. When I open this form in Acrobat Reader 10.1.3, click the submit button, and specify "Desktop Email Application," as opposed to the "Internet Email" option, no email is generated, Reader locks up and requires force closing. This happens also with Acrobat X Pro. With both programs, it happens (1) when the form is Reader enabled AND when it's not, (2) when I use an http submit button with a submit to URL of: mailto:[email protected], and (3) when I use a standard button, with control type "submit" and a submit to URL of: mailto:[email protected]
I AM able to save the form in Acrobat Pro and in Reader (when rights are enabled), I just can't email it.Have had the same problem for years. It crashes for me when i just try to email within acrobat. Not sure if its a problem causes by my work network or if it is just another thing never to be fixed by Adobe.
-
Email submit button - using Lotus Notes
Hi,
I am creating a helpdesk form and have done the following already. I am using Adobe LiveCycle Designer 8.0 and the rest of the users have Adobe 8 professional. They will be filling out the form with Adobe 8 Pro.
1. Created a submit button which emails the form as a PDF file to the helpdesk, includes the subject and body
2. Changed the default email application in IE to Lotus notes
However, when I click on the submit button, it still opens a new "email" in Outlook, which we don't use. We are using Lotus Notes 6. I've searched this form on how to change the default email application from Outlook but didn't find anything other than changing it in IE.
Any help would be appreciated!! I am not an Adobe developer, just trying to create something that is better that what is currently out there.Hi, sorry only just seen this post.
You have probably worked this out for yourself by now.
Basically in lotus notes
File > Preferences > user preferences> Mail > internet
then tick use lotus as you default mail.
Hope this helps -
I clear my cache and cookies regularly (1-3 times per day), I have reset firefox, and I have uninstalled and re-installed.
This is the only browser on my computer I am having an issue with.Could you test in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox including hardware acceleration of graphics. More info: [[Troubleshoot Firefox issues using Safe Mode]].
You can restart Firefox in Safe Mode using either:
* "3-bar" menu button > "?" button > Restart with Add-ons Disabled
* Help menu > Restart with Add-ons Disabled
Not all add-ons are disabled: Flash and other plugins still run
After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
Any difference? -
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 advanceif (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. -
HT201342 I don't see my new ICloud email address in the "From" drop down box in Mail
I don't see my new ICloud email address in the drop down box in Mail. How do I get it started?
Have you tried signing out of iCloud in System Preferences and then back in?
-
Showing an object name in a webtemplates using a drop down box
Hi Experts,
i have created a Web-Template which is showing a chart and a tabelle.
I would like to print the webtemplates as a PDf version using differents views by using drop down Box gewählt .
It it working.
Problem:
How can i show the name of the object selected in the drop down box als Titel?
I would to display the name of the selected object als Titel.
Thank you for your inputs.
CheersYour treating the object like it has a literal value.
E.g. you can treat a varchar2 as a literal value as it contains exactly that:
declare
s varchar2(20) := 'Hello World';
cmd varchar2(100);
begin
cmd := 'DBMS_OUTPUT.put_line('''||s||''');';
DBMS_OUTPUT.put_line( cmd );
end;
Result: DBMS_OUTPUT.put_line('Hello World');
Now what exactly do you expect the compiler to put as a literal value when you change variable s in this sample code to a complex type that does not contain just a single literal value?
To fix your code, try the following approach:
declare
cmd varchar2(200);
begin
cmd :=
'declare
s TString;
begin
s := new TString( ''str1'', ''str2'' ):
TestPackage.Process1( s );
end;';
DBMS_OUTPUT.put_line( s );
end;
Result: declare
s TString;
begin
s := new TString( 'str1', 'str2' ):
TestPackage.Process1( s );
end;As for using dynamic SQL properly, consider using bind variables (which also support Oracle classes/advance data types). The following code illustrates:
SQL> create or replace type TString is table of varchar2(4000);
2 /
Type created.
SQL>
SQL> create or replace procedure ShowString( s TString ) is
2 begin
3 for i in 1..s.Count
4 loop
5 DBMS_OUTPUT.put_line( s(i) );
6 end loop;
7 end;
8 /
Procedure created.
SQL> exec ShowString( TString('1','2') )
1
2
PL/SQL procedure successfully completed.
SQL> declare
2 cmd varchar2(200);
3 s TString;
4 begin
5 s := new TString( 'Tom', 'Dick', 'Harry' );
6 cmd := 'begin ShowString( :0 ); end;';
7 execute immediate cmd using s;
8 end;
9 /
Tom
Dick
Harry
PL/SQL procedure successfully completed.
SQL> -
In FF4, how do I change the orange color of the drop down box that says 'firefox'?
I find the bright orange drop down box very annoying and distracting. How do I change the color?
One way is to use the App Button Color add-on - https://addons.mozilla.org/firefox/addon/app-button-color/
-
Hebrew fonts from drop-down box not displaying in text box.
I am using InDesign CS 5.5 on a Mac 10.8.4.
When in ID, the fonts I am seeing on the Font dropdown menu when I try to use in a text box are not displaying correctly. They only display as boxes. The fonts are in the Hebrew language. They are properly installed in the FontBook.
Please help!! Thank you.Reema,
I followed most of your steps. I have a question reg. step 3 ie populating data in node 1.
Here is my code:
method WDDOINIT .
types: begin of zs,
zktokd type kna1-ktokd,
end of zs.
data: handle1 type ref to if_wd_context_node,
begin of zstruct,
zktokd type kna1-ktokd,
end of zstruct,
zitab type table of zs.
handle1 = wd_context->get_child_node( name = 'NODE1' ).
*select ktokd into corresponding fields of zstruct from kna1.
*append zstruct to zitab.
*endselect.
zstruct-zktokd = 'Sold-to party'.
append zstruct to zitab.
zstruct-zktokd = 'Goods recipient'.
append zstruct to zitab.
zstruct-zktokd = 'Payer'.
append zstruct to zitab.
zstruct-zktokd = 'Bill-to party'.
append zstruct to zitab.
zstruct-zktokd = 'Prospective Customer'.
append zstruct to zitab.
zstruct-zktokd = 'Competitor'.
append zstruct to zitab.
zstruct-zktokd = 'Sales partners'.
append zstruct to zitab.
zstruct-zktokd = 'Hierarchy Node'.
append zstruct to zitab.
zstruct-zktokd = 'Named List of Accounts'.
append zstruct to zitab.
zstruct-zktokd = 'Distribution center'.
append zstruct to zitab.
zstruct-zktokd = 'Payer'.
append zstruct to zitab.
handle1->bind_table( new_items = zitab ).
endmethod.
Please let me know if this is the best way to populate the node and then bind the table values from the node to the drop down box.
Thanks and Regards. -
RE: Using Drop-Down List in Express Application
The easiest way to do this is to define a domain for Gender that maps to
a droplist widget. ForteExpress will then automatically display the
widget in any ArrayWindow or FormWindow in which Gender appears. (I
don't think outlinefields support this widget.) There is a documented
customization for adding SQL to the domain to automatically fill it, but
we've found this to be a performance drag. What we usually do is cache
this type of list information on the client, usually by loading it into
arrays of listelement in a service object at user logon. The list is
then ready to go whenever a window needs it, and you can set the element
list of the droplist in PostOpenInit or wherever it seems appropriate.
From: David Wilbur[SMTP:[email protected]]
Sent: Wednesday, February 26, 1997 2:21 PM
To: [email protected]
Subject: Using Drop-Down List in Express Application
To: [email protected]
cc:
Subject: Using Drop-Down List in Express Application
On an Express generated Form window I want to use a drop-down list to
define the list of valid values for a database field. The underlying
database field could have a datatype of either integer or character.
For example, on the database we have a Gender column defined. I want to
use a drop-down list that displays descriptions of "Male" and "Female" for
allowed database values of "M" and "F". The Gender column is updateable on
the window.
Any suggestions on the best way to do this? Would we need to do anything
different on Array windows?
David Wilbur email: [email protected]
University of Windsor phone: 519-253-4232 ext. 2779
Windsor, Ontario CanadaHai Please try the following code
You have to make some changes according to your system i am using
MSSqlserver Driver change the class name and the connection string
for your need
<HTML>
<HEAD>
<%@ page language="java" import="java.sql.*"%>
<LINK href="../theme/Master.css" rel="stylesheet" type="text/css">
<TITLE>ListDrop.jsp</TITLE>
<%!Connection con;
%>
</HEAD>
<BODY>
<select>
<%
try {
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");\\Here you specify the Class Nale
con = DriverManager
.getConnection(
"jdbc:microsoft:sqlserver://javaserver:1433;DatabaseName=karthi",
"sa", "sa");\\here Connection string
ResultSet rs;
Statement st = con.createStatement();
rs = st.executeQuery("select SerialNo,Food from Foods");
while (rs.next()) {
%>
<option value='<%= rs.getString("SerialNo") %>'><%= rs.getString("Food")%></option>
<%
} catch (Exception e) {
e.printStackTrace();
%>
</select>
</BODY>
</HTML>
Maybe you are looking for
-
On my iPad 2 I can nolonger view maps. It says there are JavaScript errors. How can I fix this problem?
-
Hello could somebody help us? We have a BPS Model and we need to do retraction to CO in CeBe's . We have readen documentation about retraction but all process consist in to do retraction to CO in CeCO's. We wonder if is it posible to do retraction to
-
Best ISP for iMac/Macbook e-mail?
I already have a G4 iMac and have a new (so far unopened) MacBook. I want to change my ISP from Demon to something less expensive and more adaptable. I haven't opened up the MacBook yet because I want to start from an ISP that's already in place.Any
-
Export/Import Object configuration
hi gurus! I have the next landscape, and I´ll want to stop make manually the export of configuration objects: XI DEV - XI QAS - XI CORP BS_DSP060 BS_QSP060 BS_SIF060 The problem is that in each enviroment each
-
Calling several WebServices in Integration Process
Hallo, i have the problem that by calling two webservices in order there will be a com.sap.aii.af.ra.ms.api.DeliveryException. Is this a bug in xi? Thanks in advance, Frank