'Confirm before sending SMS' when enter key is pre...

Many will agree with me,
While creating SMS we press 'Enter key' for next line, and then we realise that incomplete SMS has been sent and we got charged for it.
There should be checkbox in Skype's Settings/Preferences for Messegeing:
[√] "Confirm before sending SMS"
Please push this feature if you agree with me.
Thanks,
Nitin

The text of the submit button is transmitted to tell you which submit button was clicked, so naturally it doesn't send it if you don't click that button.
The usual trick is to create an field like <INPUT TYPE="hidden" id="actionfield" name="action" value="enter">
When an element that causes a submit, like clicking a button, happens then Javascript sets the value of the field to indicate the entry method. e.g.
onClick="document.getElementById('actionField').value='ok'; return true"
Obviously if the submit occurs due to hitting ENTER the action parameter will be "enter".
Actually few forms use submit buttons these days because they look a bit clunky, most use images for buttons and power them with JavaScript.

Similar Messages

  • Send Button - Confirm before sending?

    I keep accidentally sending texts because while I am typing I will hit the "send" button (maybe when hitting O or P). Is there a texting app that has the send button somewhere else? Is there way to have to phone confirm before sending?

    Greetings,
    Be more careful - I have huge hands and fingers, a size 15 ring, and I never have had a problem with that.
    The only thing I can think of is that you may be in too big a hurry, slow down a little, they aren't likely to move the "Send" button for SMS.
    Cheers,
    M.

  • Looking for some app which send SMS when there is Sim change in Iphone 4 G. Do we have any such software which is free

    looking for some app which send SMS when there is Sim change in Iphone 4 G. Do we have any such software which is free or even paid will work.

    I thought that is what the big deal was that people did not know until they opened the box and started using the iPhone 5, that it not only worked with one carrier but several carriers.  I did not say it will work with any carrier at one time.  I was trying to find out the reason for this and why people were so surprised that the iPhone 5 had this function and the reason for it.  As stated in my post, is it there so that after your contract is up and you want to go to another carrier you do not have to purchase a new iPhone, you  cna purchase a SIM card that works with your new carrier.
    The Otterbox Defender has a tendency to let too much dirt, dust, etc. in the cracks on the case. At least this has been my expereince.  I was thinking something more along some of the really durable cases at BallisticCaseCo.com
    As far as the iPhone 5 having issues, I have heard that there were more than usual with the first couple of manufactured batches that were shipped.  For example the Map App by Apple, the scratches on the backside of hundreds of iPhones, etc.  I am hoping these will get to be less and less, but with the recent riot at the one plant in China where the iPhone 5 is assembled is supposed to increase the waiting time.

  • First Text field in page submits when Enter key is hit. Don't want Submit

    Hi,
    I have searched and can't find this answer I got before...
    The Text field does not have the Submit always when pressed included, just a standard Text Item.
    because it is the first text field in the page.. or maybe it was because its the only text field on the page that causes it to "Submit" the page when the "Enter" key is pressed.
    I do not want the Enter key to Submit the page.
    Was it to add a dummy hidden text field before this text field?

    Awesome... I just found a post also with same answer!
    Thank you very much!
    http://djmein.blogspot.com/2007/04/stop-page-submission-when-enter-is.html

  • I have an ipad mini 16G wifi - why can't I send SMS txt msg and only imessages?  On the settings, there is no option for "send SMS when imessage not available" like on my iphone.

    Why can't I send SMS messages from my ipad mini 16g wifi?

    Even when your iPad Mini has a 3G cellular modem onboard, the iPad Mini still can NOT send or receive SMS Text messages.
    The 3G modem is only used for a internet data connection and has no software to either send or receive SMS text messages even though the hardware is available.
    I can confirm this with the iPad Mini iOS6.1 with 3G cellular modem.
    Apple Support has this issue currenlty under investigation - you can follow this issue here:
    Ipad Mini with 3G prepaid internet.

  • Code to call a function when enter key is pressed

    hi all,
    In a table control program i need to call a function when i press enter key...
    but im not able to do that since the function is always called when i press a push button on the screen.... can any one help me in this.. please....

    Hi John,
          You are not getting any value in SY-UCOMM when you press "Enter",because the function code is not set for 'Enter" key in "Function Key" of the GUI-STATUS..
    First define some fucntion code say 'ENT' for the Enter button available in "Fucntion key" of the GUI status.Once you done and activate the program and test it.The function code which u defined will be coming to SY-UCOMM field when you press 'ENTER" button and you can handle the various fucntionality whichevcer you want on "ENTER" .
    Eg:
    case sy-ucomm.
    When 'ENT'.
    Endcase.
    Regards,
    Vigneswaran S

  • Process PBO and PAI when Enter key is pressed

    Hello everyone,
    I am making a program where there is a I/O Box component. When the user enters data in this field and hits the 'ENTER' key I want to process the PBO and the PAI of that screen.
    The problem is what should i assign in the ok_code for this?
    Please advise.
    Thanks in advance,
    Karan

    >
    Karan Kappal wrote:
    > Hello everyone,
    > I am making a program where there is a I/O Box component. When the user enters data in this field and hits the 'ENTER' key I want to process the PBO and the PAI of that screen.
    > The problem is what should i assign in the ok_code for this?
    >
    > Please advise.
    >
    > Thanks in advance,
    > Karan
    You want to Go when user Press enter.
    In PBO we will set the status,
    SET PF-STATUS 'STATUS'. " double click on it or Go to SE41
    here activate the Function code for the ENTER button.
    in the FUnction keys you can see in the Beginning First Function (Green Tick mark) Give the Function code say ENTER , and give all necessary details and Activate .
    Now Test your application.
    When your enter the data and press enter, First it Goes to PAI
    here you do what ever required based on the action code...
    in PAI
    case ok_code.
    when 'ENTER'.
    "your code here...
    endcase.
    and once it is done, Control backs to PBO ..

  • Default button being clicked multiple times when enter key is pressed

    Hello,
    There seems to be a strange difference in how the default button behaves in JRE 1.4.X versus 1.3.X.
    In 1.3.X, when the enter key was pressed, the default button would be "pressed down" when the key was pressed, but wouldn't be fully clicked until the enter key was released. This means that only one event would be fired, even if the enter key was held down for a long time.
    In 1.4.X however, if the enter key is pressed and held for more than a second, then the default button is clicked multiple times until the enter key is released.
    Consider the following code (which is just a dialog with a button on it):
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(jButton1);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    new SimpleDialog().show();
    When you compile and run this code under 1.3.1, and hold the enter key down for 10 seconds, you will only see one print line statement.
    However, if you compile and run this code under 1.4.1, and then hold the enter key down for 10 seconds, you will see about 100 print line statements.
    Is this a bug in 1.4.X or was this desired functionality (e.g. was it fixing some other bug)?
    Does anyone know how I can make it behave the "old way" (when the default button was only clicked once)?
    Thanks in advance if you have any advice.
    Dave

    Hello all,
    I think I have found a solution. The behaviour of the how the default button is triggered is contained withing the RootPaneUI. So, if I override the default RootPaneUI used by the UIDefaults with my own RootPaneUI, I can define that behaviour for myself.
    Here is my simple dialog with a button and a textfield (when the focus is NOT on the button, and the enter key is pressed, I don't want the actionPerformed method to be called until the enter key is released):
    package focustests;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(new JTextField("a text field"), BorderLayout.NORTH);
    this.getContentPane().add(jButton1, BorderLayout.SOUTH);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    javax.swing.UIManager.getDefaults().put("RootPaneUI", "focustests.MyRootPaneUI");
    new SimpleDialog().show();
    and the MyRootPaneUI class controls the behaviour for how the default button is handled:
    package focustests;
    import javax.swing.*;
    * Since we are using the Windows look and feel in our product, we should extend from the
    * Windows laf RootPaneUI
    public class MyRootPaneUI extends com.sun.java.swing.plaf.windows.WindowsRootPaneUI
    private final static MyRootPaneUI myRootPaneUI = new MyRootPaneUI();
    public static javax.swing.plaf.ComponentUI createUI(JComponent c) {
    return myRootPaneUI;
    protected void installKeyboardActions(JRootPane root) {
    super.installKeyboardActions(root);
    InputMap km = SwingUtilities.getUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW);
    if (km == null) {
    km = new javax.swing.plaf.InputMapUIResource();
    SwingUtilities.replaceUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW, km);
    //when the Enter key is pressed (with no modifiers), trigger a "pressed" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, false), "pressed");
    //when the Enter key is released (with no modifiers), trigger a "release" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, true), "released");
    ActionMap am = SwingUtilities.getUIActionMap(root);
    if (am == null) {
    am = new javax.swing.plaf.ActionMapUIResource();
    SwingUtilities.replaceUIActionMap(root, am);
    am.put("press", new HoldDefaultButtonAction(root, true));
    am.put("release", new HoldDefaultButtonAction(root, false));
    * This is a copy of the static nested class DefaultAction which was
    * contained in the JRootPane class in Java 1.3.1. Since we are
    * using Java 1.4.1, and we don't like the way the new JRE handles
    * the default button, we will replace it with the old (1.3.1) way of
    * doing things.
    static class HoldDefaultButtonAction extends AbstractAction {
    JRootPane root;
    boolean press;
    HoldDefaultButtonAction(JRootPane root, boolean press) {
    this.root = root;
    this.press = press;
    public void actionPerformed(java.awt.event.ActionEvent e) {
    JButton owner = root.getDefaultButton();
    if (owner != null && SwingUtilities.getRootPane(owner) == root) {
    ButtonModel model = owner.getModel();
    if (press) {
    model.setArmed(true);
    model.setPressed(true);
    } else {
    model.setPressed(false);
    public boolean isEnabled() {
    JButton owner = root.getDefaultButton();
    return (owner != null && owner.getModel().isEnabled());
    This seems to work. Does anyone have any comments on this solution?
    Tjacobs, I still don't see how adding a key listeners or overriding the processKeyEvent method on my button would help. The button won't receive the key event unless the focus is on the button. There is no method "enableEvents(...)" in the AWTEventMulticaster. Perhaps you have some code examples? Thanks anyway for your help.
    Dave

  • Send sms when bi process chain failed

    Hi SAP Gurus,
    Is some one inform me how is it possible to send an SMS when a process chain failed ?
    Is there a possibility to paramter something on the SAP BI system to execute this action ?
    Thanks

    Hi,
    I dont think there is an SMS option . But an email can be send when a Process chain gets failed.  The detail step for this is
    1. go to ALRTCATDEF
    2. select classification "Process Chains"
    3. click on display/change
    4. double-click on "error in a process of a process chain"
    5. click on "fixed recipients"
    6. write in your username (you have to maintain your e-mail address in SU01 for that to work)
    7. save
    8. In RSPC, take the required process chain
    9. go into edit mode
    10. from the menu, select Process chain -> attributes -> alerting
    11. check "send alerts if errors occur"
    Regards
    Lekshmi

  • HT4993 My iPhone from SPRINT cannot send SMS when Outside US

    Hi,
    I ask my friend to help me to buy the IP5 with Carrier Sprint in US - No Contract with (Full Price --> 649 +taxes)). He asked the seller that the IP5 could use outside USA or not and seller said : yes.
    After using IP5 in Vietnam with Viettel Network, I can't use SMS, Imessage or Facetime with 3G but it is ok with WIFI and apple ID.
    I just wonder what happen with my IPhone please help me check it :
    Model : MD668LL
    SerialNumber : F1******8GN
    Before sending the email to you my friend also ask me for testing as the following actions:
    Reset Content and All Setting.
    Using MMS.
    Disable iMessage.
    Changing SMSC number.
    Thank for helping me and wait your responding
    Kehamchoi
    <Personal Information Edited by Host>

    Frist i am going to ask that this post is edited for your safety. YOU shouldnt post your meid and serial number ect. Second you would want to talk to the carrier because your on a carrier network that isnt normal a supported carrier.

  • Cannot send SMS when VoLTE is enabled (iPhone 6 AT&T)

    My iPhone 6 on AT&T will not send SMS text messages unless I go to Settings > Cellular > Enable LTE > and change "Voice & Data" to "Data Only". When I have VoLTE enabled I cannot send any SMS. iMessage still works regardless.
    I took the phone to AT&T thinking it was a SIM card issue and they told me it was an Apple hardware issue. I took the phone to Apple and they said it was an AT&T network issue.
    Anyone else experiencing this bug?

    SMS and cellular data is a carrier feature.
    Take the phone back to AT&T and talk to someone higher up.

  • Send SMS when Device is Locked.

    Hi All,
    As Services in android,is there anything similar in Windows phone 8.x?
    I want to schedule a task,which can send message when my device is locked from background.Or i want to schedule a task for particular time to send message to my friend on his birthday.
    Please help me out,is there any possibility in windows phone to do this.
    Thanks in Adv.

    Windows Phone does not provide a public API that allows you to send SMS without user interaction and a background task cannot call an API which require user interaction*.  (*except for Toast notification.)
    However, you could write a resource intensive background task to call some web service that sends an SMS. 
    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
    your votes for existing suggestions.

  • My iPhone from SPRINT cannot send SMS when Outside US

    I buy the Sprint iPhone in the U.S., at the Apple store, stating you were asked to thoroughly sellers use outside the United States is not?
    I can't send SMS using SIM in Vietnam with the network ...
    I can't active imessage & facetime and not work 3G EGDE
    iphone about:
    model: MD656LL
    serial: F17JKA3F8GH
    IMEI: 990002305085563
    MEID: 99000230508556
    I Try this steps not working:
    Reset Content and All Setting.
    Using MMS.
    Disable iMessage.
    Changing SMSC number.
    Please Help, thanks

    Frist i am going to ask that this post is edited for your safety. YOU shouldnt post your meid and serial number ect. Second you would want to talk to the carrier because your on a carrier network that isnt normal a supported carrier.

  • How to override confirmation fr sending sms? -urgent-

    I made an application that suppose to send an sms automatically. But it always prompts a confirmation question. How to override this? Thank you..

    This is a problem not only when sending to the few people without a data plan but for people roaming with their data connection disabled to control costs. Somehow, my iPhone can tell the other phone is an iPhone even with no data connection and tries to send an iMessage. It would be nice to be able to send a text message right away instead of waiting for the iMessage to fail or perhaps failing to notice that the "Delivered" notice did not appear.

  • Cannot send SMS when voice and data enabled on 4G

    Iphone 6 on AT&T. When I enable Voice and Data for LTE, I cannot send or receive SMS messages. If I turn off LTE or just enable data over LTE, SMS works.
    I have reset the network setting, disabled iMessages and re-enabled, removed SIM car and replaced it, and restarted the phone. I have not restored the phone from scratch though and would like to avoid that.
    iMessages works fine.
    Any help?

    DavidsMacbook wrote:
    Iphone 6 on AT&T. When I enable Voice and Data for LTE, I cannot send or receive SMS messages. If I turn off LTE or just enable data over LTE, SMS works.
    I have reset the network setting, disabled iMessages and re-enabled, removed SIM car and replaced it, and restarted the phone. I have not restored the phone from scratch though and would like to avoid that.
    SMS is a carrier feature so, th first thing I would do is contact AT&T. There are a number of other threads in the forum about people have issues with AT&T and Voice over LTE, notably Caller ID.

Maybe you are looking for

  • Update Flash Player (General Plug-in) in Adobe applications

    Hello, Secunia PSI detects Adobe Flash Player 9.x (General Plug-ins) as unsafe. The Plug-ins are used by the Adobe applications: Bridge, Dreamweaver and Air and are installed in directories of these programms. I've updated Flash Player to version 10.

  • Creating action in CRM sales transaction to trigger RFC in R/3?

    Hello gurus We wish to replicate our contracts from CRM to R/3  but since SAP is not supporting it, I heard that one option that we have is to enable actions in our CRM sales transactions, which when executed will trigger an RFC call to R/3 system an

  • List of tables count and Views count in schema wise

    Hi All, I want to get all tables count and views count in Schema wise, What is the query for that? Thanks in Advance.

  • Function of the default realm in security settings?

    What is the function of the default realm in the security settings of the app server? what is the effect of specifying "ldap" as the realm-name in the login-config in web.xml? When specifying ldap, but leaving the default realm on "file", ldap is not

  • Version Source Control

    Hi, We're planning to develop applications with APEX in a team environment. I'm wondering what is the "best practice" for Version or Source Control? Note, we're going to use version 3.0 I do know about the java export tool which is very handy when yo