CS3 Multiline Input Text Not Showing <br> When Sent To Email?
Apr 13, 2009
i did a flash form for the first time.I have a multi line input text, it works fine when u type in the content.But when i hit sent, and I checked my email, the whole message is in one single line. All my other fields work fine cos they are single line input text.All my Variables are sent to my asp and then to my email.I guess my asp file did not capture the vbCrlf and convert it to <br>, am i right?
I have a multi line input text, it works fine when u type in the content.But when i hit sent, and I checked my email, the whole message is in one single line. All my other fields work fine cos they are single line input text.All my Variables are sent to my asp and then to my email.I guess my asp file did not capture the vbCrlf and convert it to <br>, am i right?
When I create an empty input text-field and compile, the curser starts at the 2'nd line when I click the text field! Is there a work-around to get the initial curser position at the top?
I'm making a form in flash for an application I'm building. In the Email text input, I want to check that the user has entered a real email address. Obviously as long as its text@text.text then I'm happy. How do I check what the have entered a valid format?
I'm trying to make a button to load an input text field for email addresses. I've been trying lots of different approaches but nothing seems to be working.Code:Quote:
on (release) {loadVariablesNum("subscription.php",0,"POST"); gotoAndStop("thanks"); }
I just need the button to communicate with the PHP code I have setup.
For some reason every time I insert a multiline input textbox, when I play my video and click on the texbox it puts the cursor on the second line of the texbox. I'm not sure why a second line was even available as the textbox should be empty. Anybody else experience this issue?
I just want to restrict enterkey of an input textbox and multiline property should be true.anybody can help me? I am using a multiline=true input textbox.I want to disable enterkey. ie when user clicking on enterkey after typing some text it should not effect in text box ie the cursor should not go to next line
I use AS3 which I keep separate from my fla project.
I have a contact page and the textfield where you type your message is an Input textfield with multiline and textwrap enabled. The height of my textfield allows for 5 lines of text, then you will have to start scrolling after that.
I use a my own scroll bar nested in a movieclip with instance name "txtScroller" The Input textfield instance name is "messageText"
What I want to do: I want to hide the "txtScroller" mc and show it when the user has typed more than 5 lines of text (using enter to break to a new line, etc).
Now for my problem: The first part of the code works, the "txtScroller" mc is hidden, and I have even tested it with the trace function (see code bellow).
I can for the life of me NOT get the the second part to work, the part where i want to show "txtScroller" mc again. I've treid with the trace function as well but it shows nothing in the 'output' pannel (see code bellow).
The Code: This is all I have with regards to hiding or showing the "txtScroller" mc.
Code: if (messageText.numLines <= 5) { trace("less"); txtScroller.visible = false;
Is there a way I can stop a single word splitting over two lines when putting dynamic text into a fixed width, multiline text field?I have a simple method of checking if there are more lines than words and then running a while loop to reduce the font size until there are the same amount or less lines than words. But this doesnt always work, if say the final word of three is quite short and the second word splits over two lines then I still have 3 words and 3 lines.
I have a file setup that will email name, email, and message when the user inputs it in the appropriate input box. Is there a way to email dynamic text within that same email. Im using php to send the email to myself. if you need more info let me know
I created a comboBox(Using the one in Component/Flash). I am unable to make the texts in DropDown menu to be shown in MULTILINE. I have tried larger Row Heights and smaller texts so the issue is related to something else.
I found this piece of code searching in archive discussions "TextInput(aCb.getChildAt(1)).textField.multiline=true;"
I have some text pulled in from a db via cfm and remoted into flash - I'm trying to figure out a way to determine if whether or not a given string requires the vertical space of a multiline text box.Visually, two lines take up more space than a single line and when the string only takes up a single line, the second (empty) line creates to much whitespace and has everything below it too far away from that initial single line. When the string can fill both lines, it doesn't look bad at all - so, ultimately, I'm trying to get that whitespace gone.
my input field instance is form_comments and the default text I have in the field is "Your comments" the same code (with obvious changes) is working fine on my single line fields... just not this last one?
how to do the SUBJECT? Is it even possible? As soon as I put the textfield multiline, I cannot align it to right at all. The help only writes about left alignment in multiline textfield.Does somebody know some workaround?
I have a problem with the text on them.I want the text to wrap, autosize and be multiline - ie I want the button to be a certain width and if the text is longer for a particular button the button will be higher with the text going onto the next line.The wierd thing is that it worked, I went and made a cup of tea, came back and it was not working! Maybe the cat changed my code but I cannot see where.
Basically I've created a simple flash form which is linked to a PHP processor to email to a client. I have both simple text input fields, and the ComboBox and DateSelector components from the flash CS3 menu.
Inputs from the text fields work fine and appear in the emailed form, I have set the var fields on these. However the ComboBox and DateSelector inputs don't appear, and i cant figure out how to set the var fields on these. How do you get the text/whatever is chosen from these components to actually appear in the emailed php form!?
i have a text area, set to multiline. For some reason, when my text imported from xml shows up in the box, it starts several lines down into the box. So for example, my Text box is positioned with the top at the midpoint of my stage, but the text starts about 3/4 down the page, about half way down the text box. Can someone please tell me why this is happening and what I can do to fix it?
I noticed that when I put my cursor in the box and move it up and down, the rest of the text 'scrolls' into the frame, but otherwise it's cut off.
Anyone know of a good reg exp that can do this, optimally in one go? It needs to remove whitespace at begin/end of each line, remove LFs and CRs and replace with a single space but if there's a <br> (or <br/>) at the end of the line it should not add a space. I'd need this in a JavaScript conform regexp.
I have been asked to add support to a xml based website. I have been looking into it and have realised that it is not going to be very straight forward. The text does have english phrases in when describing products being used.
After doing some research I have found that CS3 does not 'support' rtl text. I also read that CS4 has added support, is this worth looking into? I read that it was buggy.
I found FlarabySWF which does what I think I am after, but not for all the languages I need, and only at design time rather than runtime.
I also found Gchats TextBox 3.0.0 but this didn't seem to work.
I also found some solutions using CSS, but these didn't seem to work with multiline text. See this example. It also didn't work as the text I am trying to display is bi-directional ..
Actualy, importing Arabic text is not a problem, but dealing with bidirectional text of Arabic and English within the same line is a big one.
I have a TextField with multiline and word wrap enabled, and a fixed width. I want to calculate the total height of the text inside it. I tried using TextField.textHeight, but that gives me the height of one line. Because of the wrapping, I can't easily calculate the number of lines to multiply it with the line height. TextField.height just gives me the fixed, default height of the field, 100 pixels.