Text Input field return char problem

I have a multiline text input field used as a message area on a form (sending mail through a PHP doc).  When I hit return to start new paragraph in that field and the form content is send and received at other end everything after that return is lost?  Any ideas would be fantastic...
Marc

copy the code between the dotted lines and attach it to the same timeline that contains your submit button:
var sendLV:LoadVars=new LoadVars();
var receiveLV:LoadVars=new LoadVars();
receiveLV.onData=function(src){
trace("received");
trace(src);  // or use a textfield to see the return if you're not able to see trace output when testing
// and you should attach code to objects.  assign an instance name to your submit button (say submitBtn) and use:
submitBtn.onRelease=function(){
sendLV.name = form.nameTF.text;  // assign properties to sendLV that your php is expecting.  assign values to those properties using the form data
sendLV.email=...
sendLV.message=...
sendLV.sendAndLoad("email.php",receiveLV,"POST");
trace("sent\n"+sendLV.message)
and change your email.php file to:
<?php
echo $_POST['message'];
?>

Similar Messages

  • How to make numbers in message text input  fields left aligned?

    Hi Friends
    I have completed one of my task .but getting result right side of the field.
    how to make numbers in message text input  fields left aligned?
    Thanks
    Aravinda

    Hi ,
    Sorry for late replay i am trying this alos not set that page....
    pageContext.forwardImmediatelyToCurrentPage(null, true, null);
    and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
    Regards,
    Srini

  • Text input field

    How can I create a text input field?

    Ok, I found the solution by a lot of searching and trial and error:
    sym.$('#nickname').val("XXX");
    ..., where "nickname" is the id of the input field.

  • Text input fields

    What is the trick to creating a text input field that:
    1) allows users to input text directly into the text input
    field
    2) forces users to input numeric or alph characters?
    can anyone post a sample bit of code?
    Thanks

    http://livedocs.adobe.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=L iveDocs_Parts&file=00000054.html

  • Changing the size of text input field in xml style coldfusion forms

    Does anyone know how to get the size attribute of a text
    input field to work in a coldfusion xml form?
    Example: When I enter the following code and view the form in
    a browser, all of the fields are the exact same size.
    <cfform format="xml" name="testingform" method="post">
    <cfformgroup type="horizontal">
    <cfinput type="text" name="first_name" size="10"
    label="First Name">
    <cfinput type="text" name="middle_init" size="2"
    label="Middle Initial">
    <cfinput type="text" name="last_name" size="20"
    label="Last Name">
    </cfformgroup>
    </cfform>

    Indeed a mistake in the Coldfusion engine. Or is there some
    reason for it? In any case, you should report it.
    Look in the source, and you will see why it happens. The XML
    form makes use of the stylesheet
    /CFIDE/scripts/css/default_style.css. There the width attribute is
    hard-coded for the cfinput element, thus
    .cfInput, .cfTextarea {
    font-size: .8em;
    font-family: inherit;
    width: 200px;
    I would replace that block with
    .cfInput {
    font-size: .8em;
    font-family: inherit;
    .cfTextarea {
    font-size: .8em;
    font-family: inherit;
    width: 200px;

  • Issue of Text input field  in Where Tab of Migo During POST

    Hi Friend's,
    I m facing some issue In MIGO for Test Input field not showing in WHERE tabe during Display-Material  on POST it will showing during check but when i try to post it it will invisible text input field what will be issue..high preiority..
    Regard's,
    shaikh.khalid.

    ok .
    when i go migo and select GR and Purches order.after enter in below WHERE tab there is a text and input field of that when filling this i try to check it showin text and input field during check but once i press POST button and then go to where tab it not showing Text and input field both are invisible..
    1.In MIGO During GR-purchase order in Where tab Text and it’s input field are showing during CHeck tabe
    2.On POST it not showing Text Input Field both are invisible.

  • How can I create a Text-Input Field in BexAnalyzer for a Planning Function

    Hello,
    i want to create a pre calculation(contribution accounting) for Materials in BI-Integrated Planning. These Materials aren't in the master data. So I create a new Info Object for pre calculated materials with only a material-number as key and a text-description.
    Now I want to write a Exit-Function, which creates new materials in these Info Object. The user should start this function in a planning application in BexAnalyzer. There the user should have the possibility to enter a text-description for the new material. How can I create such a Text-Field in BexAnalyzer and how can I read this text filed in a planning function (exit).
    Thanks in advance

    Hi Jürgen,
    you can create a parameter for this in the exit function and a variable for the parameter. In BEx Analyzer then create a button for the planning function; in the button parameterization use VAR_NAME = , i.e. use an Excel formula here to get the value from an Excel input field.
    The command range should be some 'hidden area' in your Excel sheet.
    But may be you don't need this. Use a characteristic without master data. Then ensure that that the query uses the option 'key' as display. In new lines you can then enter the key, the system creates a SID on the fly (but the text table will not be updated). In this scenario you may take text also from the key. May be you can update the text table (online or in batch) by simply using function modules from function group RSNDI_MD (not released by SAP).
    But observere that the system in BI Planning reads only the active version, i.e. if you change something on the fly the changes may not be visible.
    Regards,
    Gregor

  • Text Input Field Jumps around or lags when inputting text but only with Firefox.

    I normally will use Safari because even now while Firefox, there is a lag between what is typed and what appears on the screen. When I pull down a menu or try to add a bookmark, I have to click on the field at a certain time because the text field is moving side to side. I am unable to capture this effect and copy and paste below. Safari browser does not do this. Some of the sites require that I have Firefox or a more recent browser. I cannot run Google Chrome on my Mac because it is not Intel based. Thank you for your assistance.
    == This happened ==
    Every time Firefox opened
    == After I started using Firefox. This has been happening for a while.

    Try [[Firefox hangs]] (Firefox hangs: Duplicate Session Restore files)
    This can be a problem with the file [http://kb.mozillazine.org/sessionstore.js sessionstore.js] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete the files sessionstore.js and sessionstore.bak and any existing files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js .
    See also http://kb.mozillazine.org/Session_Restore

  • Text input box to show in another text field

    Hello,
    I have a text input box (Text1) showing during a certain label on the stage.  On another label there is another text field (Text2) that is not input-able.  This second text field (Text2) should show whatever the user has inputted in the first text input field (Text1).
    Both of these elements are not symbols and right now they are both text elements.
    Does anyone know how to do this?
    Thanks,
    ~iana~

    I believe the inputField is set accordingly.  And including your reply, here's what I've got on my stage:
    sym.$("Name").attr('contentEditable', true);
    var inputValue = sym.$("Name").value;
    // other text
    sym.$("Signature").html(inputValue);
    Thus far, this does not work. "Name" field is Text1 (inputField) and the "Signature" is Text2 (text box)
    I'm new to all this so I've prob got something wrong...do you know what I should adjust?

  • Problem with increasing input field length in module pool programming.

    Hi All,
    I have created a screen in which i have used table control wizard. In my table control I have an input field. The problem is, this input filed only takes 23 inputs at a time. I need to make this field unfixed. This is an quantity field. I am not understanding why this is happening. Can anybody plz help me in this regard ?
    Thanks in advance.
    Tripod.

    HI Tripod  ,
    YOu can add  Lines to Table control  .
    Add one button  by name ADD LINES  : give func code 'ADD'
    IN PBO  ...
    if it_mat[] is not initial .
        describe table it_mat lines ln  .
        tab_ctrl-lines = ln .
      endif.
    case sy-ucomm .
    when  'ADD' .
          perform add_lines .
    endcase  .
    form add_lines .
      ln  = ln + 1 .
      clear it_mat .
      append initial line to it_mat .
    endform .
    regards
    deepak.

  • Want the data store values to be displayed in input field of form

    Hi,
    I wanted to know wether is there possibility of displaying the data in a input field instead of expression field.
    In our model i have used a form which has material type,plant and Vendor connected to data service1 in turn gives the out put in chart and i also have the second input form which has To(0CALMONTH) combo box which is connected to Data service2 and gives the data in table.
    But what i wanted is to i also want to use the input fields of first form to second Data service2 and get the data based on on inputs of form1 and form2i.e also To field.
    We can connect the port from form1 to DS2 but problem is we need to click the submit of form1 and form2 and it doesnt gives the output according the input of form1 and form2 as it gives the output of that form when we click that submit button.
    I have followed help.sap for data tore procdure.
    So i have used a datstore where i will store the values of form1 and call it in expression field which i will add and hide it in form2(hide because user should not see that input fields).
    Formula used in data store for expression field.
    IF(CONTAINS(STORE@matltype,@Material_Type),STORE@matltype,STORE@matltype &(IF(LEN(STORE@matltype)>0,'; ',''))&@Material_Type)
    But whats happening is the value is getting concatenated when i goon change the values in input field, so i wanted to get the values to be replaced as soon as i change input field of form1(if  use replace function its not working) and also it would be more preferrable if we use input field instead of expression field.
    I would also like to know is there any alternate solution for the above requirement instead of datastore.
    Thank You
    K.Srinivas

    Hi,
          I have Form1 connected to Data service1 displays the data in a Chart and i have another Form2 connected to Dataservice2 displays the data in table.
    In form1 there are Material Type,plant, and Vendor and form2 i have To (0CALMONTH)SO now i want also Form1 inputs for Table which gets teh data from Dataservice2.
    What i have said earlier is connecting Form1 to Dataservice doesnt fetch the data correectly,its because if i click submit in form1 i get the data of those 3 inputs and i need to click the submit button in form2 after giving input which shows the data accordingly where it doesnt fulfill the requirement.
    So i wanted some solution for that.For that reason i have used the data store and the procedure i have followed the help.sap as i said in my above mesage.
    If Data store is also suggestable than i want to display the data in Text input Field  instead of Expression field which should replace the previous values as soon as values change in data store.
    Hope i have tried to be clear if still it is not i am ready to explain again.
    Thank You
    K.Srinivas

  • Text input ghost image

    I created several text input fields in a presentation.
    A ghost image of the shortcut character displays when a user
    highlights the text field.
    Any insight??

    I'm just taking a shot at this because there's not much to go
    on.
    I am aware of a similar complaint regarding invisible buttons
    with a shortcut key assigned to them. When an invisible button is
    triggered via a keyboard shortcut, that invisible button ends up
    getting a yellow rectangle on it -- something to do with
    Captivate's "focus manager," or some such.
    Could it be that you have a single slide with multiple text
    input fields on that slide?
    If so, I can imagine a variety of problems (including the
    yellow box or "ghost characters") being exhibited.
    The most effective way to build interactions in Captivate is
    to use only one interaction per slide. If you have one screenshot
    on which you need to simulate the entry of text in multiple fields,
    you'll be better off using a separate slide for each field:
    1) On slide "a", have the student enter the text in field 1.
    2) On slide "b", display the correct answer in field 1, and
    have them enter text in field 2.
    3) On slide "c", display the correct answers in fields 1 and
    2, and have them enter text in field 3.
    Repeat this "build up" of entries until they've made all the
    necessary entries.
    I suspect if you build your interaction in this manner, the
    "ghost" issue you're seeing won't show up at all. If this doesn't
    work for you, maybe you can describe your situation better or
    provide an online sample we can look at.

  • Text Input question.

    Hi, i'm having problems with the text input feature, i'd created a comment field but when typing it go only in one line.
    I would like to know if theres any way to make alow typing in more than one line in the same text field.
    Sorry for my english, thanks.

    Tanya Heins wrote:
    I tried out the following which resulted in an editable multi-line text field (after changing code in Flash Builder)
    Created a text input in Fc and resized it to allow for multi-line display
    Imported the Fc .fxp file into Fb and changed the following line of code (in src/Main.mxml) from:
    <s:TextInput height="244" text="my text field." width="431" x="191" y="173"/>
    to
    <s:TextArea height="244" text="my text field." width="431" x="191" y="173"/>
    If you now run your application from Fb, it will result in an editable multi-line text field.
    Be sure to do this after you've finished layout and design of your interface in Flash Catalyst. Once you move over to Flash Builder, that's where you will be completing your application.
    Hope this helps.
    Tanya
    I tried rezolving the problem this way but when I type in something and press enter, the text dissapears by going up, which means out of the text input field. I'm looking forward to find a solution for this problem.
    Thank you!

  • How to Disable client side validation for the message text input

    Hi,
    I have scenario where i need to by pass the client side validation for a message text input
    Scenario is
    I have a message text input field(say XYZ), i set the max length for the item as 20
    Now when im trying to enter the greek characters into it, it is allowing me to enter till 20 characters
    But when i try to submit the form ..my client side validation is firing..
    The Error says the XYZ is too long
    The problem is, in greek each character takes two bytes.(In english it is only 1).While entering the content it allowing 20 characters and when validating it is checking for bytes(if we enter in greek the length will be 40 bytes not 20)
    I cannot increase the max length .coz i have restrict the character length to 20 only.(english or Greek).
    Please help me in this regard.
    Regards
    Sandeep.

    Thanks for the information.But we dont have any option either declaratively or programatically to disable the client side validation for the message text input..I referred java docs ..i dint find any method which does..
    Correct me if im wrong

  • Setting the cursor on a particular input field in module pool

    Hi,
    I am working on an abap module program, the requirement is the cursor should be placed on a particular field at run time.
    In detail:  Table contains zserialno primary key field, zemailid of char type.
    Screen design: 1st text input field is zserialno
                             2nd field zemailid is splitted into 3 input text fields.
    For 2nd field zemailid 1st input field allows user to enter his/her email name, 2nd input field is an drop down which contains domain names and 3rd field is an empty field which is to be triggered on user action.
    example: zemailid- 1st input field  XYZ 2nd input field conatains @gm../@yah....and others. If user selects on others value in drop down of 2nd input field, the cursor should point the 3rd input field which allows the  user to enter his/her other domain.
    I used
    SET CURSOR FIELD <3rd inpu field namet>.
    , but the cursor pointing the key field of the table zserialno even the input field of zserialno was provided with a value.
    Any idea on this is appreciated.
    Edited by: Sona_abaper on May 7, 2011 5:34 PM

    Hi Sona,
    F1:
    Effect:
    During PBO processing, this statement sets the cursor in the screen layout of the current screen. The cursor can be positioned by entering a screen element after FIELD or by entering a specific position using col and lin. Outside of PBO processing, the cursor is positioned in the next list displayed on the screen.
    If the SET CURSOR statement is not specified, depending on the definition of the screen, the cursor is set according to the following hierarchy:
        On the cursor position determined statically in the screen properties,
        On the first input field of the screen,
        On the first screen element of the screen,
        On the command field in the systemtoolbar.
    The latter also applies if the command field in the system toolbar is not displayed.
    I'm convinced your code works as designed.
    Let us know your PBO module and code.
    Regards,
    Clemens

Maybe you are looking for

  • How can i see my printer's estimated ink level

    How can I see the estimated ink level on my printer and how to acssess cleaning properties of printer?

  • How to start building new screens in ORPOS 13.0.2

    Hi All, I am very new to ORPOS UI implementation/customization. I am in process of customization/ changing the UI for POS Client. Read the Operation Guide and it is very useful to start with. But I am facing difficulties in setting my Eclipse to run

  • How do I update/change the connect descriptor for a target RAC database in Cloud Control

    I have Cloud Control 12c Release 3 set up and monitoring many hosts and targets. However when monitoring my RAC (2 nodes), it cannot connect to the database instances (although it shows them as up). I get the message "IO Error: The Network Adapter co

  • How to disable frm messages in oracle forms

    Hi, I am getting a form error, FRM-41830:List of values contains no entries. whereas I dont want this message to be displayed instead i want a user specified msg like "No entries for specific location!".. I have even tried using, :system.message_leve

  • Lose connection to magic mousse

    Hello, I buy my first Apple computer (IMac 21,5) 4 month ago. I was very excited !! But now a little disapointed with problem for connecting my magic mousse to the computer. I try a lot of things, but nothing seems to resolve this problem. I restart