Passing text to new text fields
Hello everyone. I've been going crazy with this trying to
figure out why my variable isn't 'passing to another frame on the
same scene. I declared a variable ( var sStudentParagraph:String =
mcStudentWrite.text ). Where the "mcStudentWrite.text is the text
inside an input text box.
I trace the value of it after I click a submit button I made,
and it shows me the value of whatever I happened to type in the
input text box. The user is then lead to a screen witih a new
dynamic text box that should display what they typed on the
previous input text box. ( mcStudentWork.text = "you typed " +
sStudentParagraph; ). But nothing loads into the "mcStudentWork"
dynamic text box, I just get a value of undefined...
I've worked with with numeric values before for scoring tests
etc, and having the value load into a dynamic text box revealing
their score, and tha'ts worked fine. I'm at a loss as to why this
isn't working for me. Any insights will be most appreciated.
So future text boxes have to be present on stage in order for
them to work in the future? I had never realized this. The
mcStudentWork text box is the new textbox that should be displaying
the input text from the previous user submission, but it's on the
stage on the frame in which it's needed to be seen, but not prior
to that. The only text box the user sees prior to that is the
StudentWrite text box.
But when I did my test scoring dynamic text box I never had
to do that.
I used a variable declared at an earlier time, on a different
frame, and when the score box needed the number of correct answers
it displayed the correct number just fine.
I'm seeing the undefined when I trace the "sStudentWork"
variable when I'm on the frame that has the dynamic input text box
"mcStudentWrite". For some reason it seems like it's forgetting the
variable from one frame to the next. I don't have the variable
declaration inside a button function, it's the first thing I have
written after the stop command.
Similar Messages
-
New Text Field To Be Added in Audit Management
Hi All,
I need to create new text fields in addition to the existing fields in Audit Management screen for all the audit components in the TEXT TAB in transaction PLMD_AUDIT.
I would like to know is it possible or not and if not possible then what is the alternate way to include more inofrmation.
Will be rewarded...
Regards,
Ram.Hi Ram,
New text field can be added in the texts tab of plmd_audit transaction is achieved by ,
1) The following entries has to be maintained in the view V_TTXIDI Object, Id, Meaning.
Object-select cgpl_text
Id : you need to define(this id you will refer in the initial value of the attribute in the BADI-name of your text field).
Meaning : short description of your BADI.
save your entries & activate it.
2) Implement this BADI "PLM_AUDIT_TEXT_ID"
within the method "GET_TEXT_IDS" we need add our code for adding the new text fields.Within this method the code for standard text fields would be existing.
3) In the attributes tab of the ZCL_DEF_IM_PLM_AUDIT_TEXT_ID -class interface ,you need to pass the initial value,which has been defined in the view "V_TTXIDI".
4) Finally activate your BADI.The newly added text fields would be available in the PLMD_AUDIT tcode.
Hope this solves your requirement.
Regards,
Keerthi -
Passing event target name to text field
Hi There,
I'm new to 3.0 and can use some help here... should be an
easy one for you experts...
I just need to pass an event target name to a text field:
square.addEventListener(MouseEvent.MOUSE_DOWN,downObj);
function downObj(event:MouseEvent){
targetObj = event.target;
mydrag.visible = true;
targetObj.startDrag();
mydrag.addEventListener(Event.ENTER_FRAME, dragClip);
target_txt.text = String(event.target);
I've also tried:
target_txt.text = event.target;
but no luck so far..
Any help would be highly appreciated.
Cheers...
Bruno Aun
Flash + Coldfusion Developer
http://www.BrunoAun.comThat's right...
target_txt.text = String(event.target
.name);
works like a charm.
thank you! -
How to open a new window by clicking the string in the text field ?
Hi
is it possible to do this ?
Some string value is retrieved from database and it is placed in the text field. [ done with this part ]
i have to provide link to that string to open a new window. [ yet to do ]
Please help me in this.
Note : if this is not possible , give me some other idea to do this.
-Arunwhether this is useful ?
I am using string field here.
public StringField(java.lang.String name,
java.lang.Object listener,
java.lang.String callback,
java.lang.String value)Constructs a StringField
Parameters:
name - Name of field
listener - Listener to update
callback - Callback of listener
value - Value of field
-Arun -
Text continues moving horizontally rather than starting a new line in editable text field
I am trying to make a feed backbox for visitors on my website. I have made the editable text field and scroll bar and set all of my preferences, but when the typing reaches the border on the right of the text field it just continues to type further horizontaly. I can start a new line by pressing enter but I would like it to start a new line on its own when it reaches the boundary. Any help is appreciated.
assign your textfield's wordWrap property to true.
-
How can I pass URL parameter value to text field?
Dear Masters,
I have a text field. I want it to have a value based on the URL parameter, for example:
http://myapplication.net:7777/pls/apex/f?p=102:1:::::P1_RTNUM:9448,P1_EMAILADD:email.add.here
I want the value of the text field = P1_EMAILADD after the form was loaded. Also, please have it read-only.
Thanks a lot.
Edited by: user6368519 on Sep 16, 2009 11:39 PMThanks Saad,
Can I email you(I would need your email) for any concerns or just create a new thread for you to look?
This is ok now. I'm sorry but I just marked this one as an "answered" one last time.
Thanks for all the help again I appreciate it. ;)
Thanks,
Aaron
[email protected] -
How to add new text field in standard report
how to add new text field in standard report?
Hi,
I presume you are talking about a report display in ALV and u wish to add a column to it .
If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
Otherwise , you can make a Z program . Modify the catalog being used in ALV.
Regards,
Shweta -
Link a Form Field to new Text Field
PDF - form field
Looking for a code to link a form field(text_1, on page #5) to
another, new form field(text_2, on pages 2-4).
Maybe a "Page Properties" action (i.e., Page Open: field text_2 = field text_1)
~~
Why....
busy but here's why
In the PDF, there are Form fields on page 5 which interface (externalinterface) with an RMA ( a SWF) on page 2.
This all works well.
As the form fields must be carried forward (from page 5 to page 2... to interface the RMA),
the orignal page 5, From fields are copied to pages 2-4 and then "Hidden".
Again, this works just fine.
A reset "action" (button) was added to, well, clear the Form Field for easy reuse.
The reset ''action' does it's job and clears ALL form fields with the same "Name".... on every /all pages.
This causes the dynamic interface, with the RMA, to display blank fields (within the SWF).
This will effect the User's experience.
~~
Work aound.....
Find a way to label the Form Fields (page 5) so that "only they" are reset, and no others.
Create a link of Form Field inputs on page 5 (with names... x,y,z),
to new Form Fields pages 2-4 (with a differnet names... a,b,c).
Thanks in advance for your help....
DSHi jm,
This may be what you are after. No text wrap, but notes are there.
Type an account number into the Enquire table to get Client and Contact
Formula in B2 (and Fill Right)
=INDEX(Database::B,MATCH($A2,Database::$A,0))
Large notes display table with Wrap Text
Formula is
=INDEX(Database::D,MATCH(Enquire::$A2,Database::A,0))
All together:
Change it around if you want to look up by Client instead of Account
Regards,
Ian. -
I created a Custom list New Form and need to make the text fields read only
When I use SharePoint Designer and add the read only attribute to the SharePoint form field, then it throws a web part error.
but here is the thing, I have current user Filters populating the Form Fields. So the form fields populate First name , last name etc. and I need these fields read-only....
the Client doesn t want the end user to Change those fields. Is there any way to "LOCK" the form fields?
As I have only 7 text fields that need to be locked down. and one field is a signature line that is a true input field.. where the user has to inter their initials.
Any ideas? as I have tried most of the items available thru searches nothing works, or it throws that web part error message.
Steve AtheyDaniel: ( I'm now at work, a different ID is logged on for me)
I used SharePoint Designer.
Steps:
created a web part page
then on the SharePoint Designer ribbon I then went to insert:
new item form
Then I selected my data source (list)
then I placed the 8 columns on the page
a page viewer web part to pull the manual that people have to read.
and 7 current user filter webparts. (1 for each form field) Yes it is over kill, but I'm trying to keep this straight out of box as much as possible...
then for the form fields
I added a parameter and the read only tag see below in bold:
<asp:TextBox runat="server" text="{$ParamEmployID}" id="ff17{$Pos}" __designer:bind="{ddwrt:DataBind('i',concat('ff17',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Employee_x0020_ID')}"
ReadOnly="True" />
I also added the parameters in the ribbon area
the error message doesn't tell me much, it just send me to web part maintenance page...
if I removed the ReadOnly = True then the error goes away..... So I was trying to find a quick simple JQuery and or javascript code item that would make the 7 text fields readonly and leave the
8th text field alone to allow people to place their initials on the page to say that they read the manual.
I have created hundreds of these types of pages .. this is the first time I have run into this issue, but it also the first time I have tried to use the ReadOnly = True item.
Any Ideas and or thought on how to make the items read only? and not throw the error.
Steve -
How do I make content in a text field continue onto a new page?
I am creating a form and one of the pages contains a text field for an essay. I'd like the responses in this text field to carry onto new pages if they reach the end of the first page. How do I make new pages appear with only the continued text field? Thanks!
All right...
public class guiClient extends JFrame implements ActionListener {
static String userString;
static String currentFont;
String fontchoice;
String fontlist;
static JTextField userName = new JTextField();
public guiClient() {
super("My Client");
public guiClient() {
super("My Client");
// Create a ComboBox
GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
String envfonts[] = gEnv.getAvailableFontFamilyNames();
Vector vector = new Vector();
for ( int i = 1; i < envfonts.length; i++ ) {
vector.addElement(envfonts);
JComboBox fontlist = new JComboBox (envfonts);
fontlist.setSelectedIndex(0);
fontlist.setEditable(true);
fontlist.addActionListener(this);
fontchoice = envfonts[0];
//Create a regular text field.
JTextField textField = new JTextField(10);
textField.setActionCommand(textFieldString);
textField.addActionListener(this);
public void actionPerformed(ActionEvent e) {
//if the action is from the textfield (e.g. user hits enter)
if (e.getActionCommand().equals(textFieldString)) {
JTextField fromUser = (JTextField)e.getSource();
if (fromUser != null){
//place user text in editor pane
//send message to server
if (userName.getText() != null) {
userString = userName.getText().trim();
out.println(userString + ": " + fromUser.getText());
fromUser.setText("");
else if (e.getActionCommand().equals(fontlist)){
JComboBox cb = (JComboBox)e.getSource();
String newSelection = (String)cb.getSelectedItem();
currentFont = newSelection;
userString = currentFont;
return; -
Wrapping Text to a New Line in a Single Text Field.
I was wondering is it possible to conintue text in the same text field that runs out of space on a line to a new line in the same text field. If this is possible could someone please advise.
i.e:
alot of text and random txt [ text box
text ] more txt on the next line.You need to check the checkbox "Allow multiple lines" in the Object properties.. You need to check the checkbox "Expand to Fit" for height in the Layout properties of the field.
When you do this, you need to set the subform that wraps the TextField to Flowed. Otherwise the text will overlap on the fields below.
Make sure you save the form as Dynamic PDF. Goto File menu -> Form Properties and choose Default tab. And select "Render PDF as" Dynamic PDF.
Hope this helps.
Thanks
Srini
Added the image.. Message was edited by: Srini Dhulipalla -
JTextArea How do I add text on a new line from Text field
I want to put each new input from the text field at the start of a new line and keep the previous entries at the start of their
own line.
I'm doing this but need help with the new line.
jTextArea1.setLineWrap(true);
jTextArea1.setWrapStyleWord(true);
jTextArea1.setEditable(false);
public void textProcess()
System.out.println(sourceref1.getSourceText());
jTextArea1.setText(jTextArea1.getText()+" "+source.getSourceText());
The above just keeps adding on the new text until I reach the word wrap limit.
ThanksMaybe you should use the escape character. Anyway, you can consider use append(text:String) instead of getText() everytime.
Eg:
jTextArea1.append("\n"+source.getSourceText()); -
Auto scrolling dynamic text field(news ticker)
> This message is in MIME format. Since your mail reader
does not understand
this format, some or all of this message may not be legible.
--B_3272625483_2679871
Content-type: text/plain;
charset="US-ASCII"
Content-transfer-encoding: 7bit
Does anyone know how to make a scrollable dynamic text field
scroll on its
own and also with user interaction?
Thanks in advance for your help.
Bill
--B_3272625483_2679871
Content-type: text/html;
charset="US-ASCII"
Content-transfer-encoding: quoted-printable
<HTML>
<HEAD>
<TITLE>Auto scrolling dynamic text field(news
ticker)</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN
STYLE=3D'font-size:12.0px'>Does =
anyone know how to make a scrollable dynamic text field
scroll on its own an=
d also with user interaction?<BR>
<BR>
Thanks in advance for your help.<BR>
<BR>
Bill</SPAN></FONT>
</BODY>
</HTML>
--B_3272625483_2679871--I found this:
http://www.kirupa.com/developer/mx/dynamic_scroller.htm
I copied the actual scroller and put it in my .fla and it
worked! Now if I can only figure out links in XML... -
When i go to send a new text, the text field isn't blank. There is already text entered in the message body that I have to go in and delete before typing my new text. this prevents me from forwarding anything through text because if I get something I wish to forward, selecting forward as an option always brings up the same junk just like when trying to send a new message. How can i remedy this?
Here it goes -
1) Download iBackupBot: http://download.cnet.com/iBackupBot/3000-2141_4-10969873.html
2) Plug phone into computer and run backup
3) Use "Explorer" box to find Messages: HomeDomain/Library/SMS/Drafts/(null).draft/
4) In "Null Drafts" there is a file "message.plist"
5) Double click to open, (cancel the popup if you did not purchase the iBackupBot) and you will see the prepopulating message on the <string> line 6
6) Delete the offending text, leave all code
7) Close text editor
8) Right click on message.plist file and select "Restore selected item(s) to device"
9) File will be restored to your phone and it will restart itself.
10) Voila! Now it is time to consider that Windows phone....:) -
Adding a new text field in Shopping Cart screen
Hi,
I am new to SRM and I am working on SRM 5.0
My requirement is to add a text field for buyer's note with unlimited length similar to Approver's note in Shopping Cart screen.
I have seen in the forum that many have done this earlier and i need step by step procedure to complete this task.
I am able to create text field in Text Schema, but this field is not reflecting in shopping cart screen. Do i need to do any thing extra apart from maintaining in Text schema?
Can you please send the detailed procedure to do this task?
Thanks in advance.
Regards,
VamseeHi Saritha,
Thank you for your help. In fact, i have gone through this link and followed the steps there. But, the Text ID is not reflecting in my shopping cart.
We are using SRM 5.0. The requirement is to add a new text field with unlimited length similar to the existing Approveru2019s note field in Shopping Cart screen at header level.
I have followed the steps mentioned below.
1.Go to SRM IMGSRM Server->Cross-Application Basic Settings->Text Schema
2.Execute Define Text Types and then select the entry BBP_PD Text Object and click on Text Type.
Here, create new entry for ID as ZHTXT and Description and save it.
3.Execute Define Text Schema and then select the existing Text Schema SC ( Shopping Cart) and click on Texts for Schema.
Here, assign the newly created Text ID with details Header/Item etc.
4.I am not executing the last step Define Fixed Values for Texts, as the Text Schema SC is already assigned Transaction Type Transaction Type SHC.
Please suggest do I need to perform any extra steps apart from Text Schema to reflect the Text ID which I created in my Shopping cart screen? Or do we need to code anything on ITS side?
Thanks in advance.
Regards,
Vamsee -
How to add new "text" field in GL item fast entry?
Hi Gurus,
Is that possible to add "text" column or field in GL item fast entry. For example, if i go to Txn F-04, i enter all the details then i go to: "Goto>GL item fast entry (shift+F8). Now you will see layout (GL item fast entry). So back to my question before, is that possible to add new field or column (text field) in this layout? If the answer is Yes, appreciate Gurus help and guide me in configuration, if any.
Thank you
Regards,
NazrulHi Sreehari Annavaram,
Thank you for your kind reply. Based on the answer from the link you have given me (as per below quote), there's no "DEM03" in my selection screen. We only have SAP01, SAP02 and GL001 (customised layout). That's why i had created new customised layout GL002 and try to add the "text" field in layout as per my first question. But system still won't allow it.
*"In F-02 under editing option screen screen templates and line layout variant for document entry will be there in that
GL accounts items for fast entry select DEM03 u will get the text item"*
Appreciate help.
Thank you
Regards,
Nazrul
Maybe you are looking for
-
I cannot install itunes because of an older version of bonjour that I cannot delete.
I cannot install itunes because of an older version of bonjour that I cannot delete.
-
I am getting an error message when trying to publish to BC.
When I am trying to update our site through BC I am getting error #2058: There was an error decompressing the data. What does this mean and how do I fix it?
-
MS's Intellimouse has five "buttons" including the scroll wheel. I set left and right buttons to L-click & R-click (seems normal). I set left side button to Back and right side button to Close. In FF3, Close closes the current tab and Ctrl-W closes t
-
ABAP SET LOCAL LANGUAGE doesn't work
Hello Community, actually i try to work in a ABAP report with the SET LOCAL LANGUAGE statement to change the text environment on the fly to an other language. In the debugger i can see that the SY-LANGU is changed to the correct country but the messa
-
How to re-download Elements for new computer?
I purchased Elements in January for my XP and want to re-download and install it now on my Windows 7 computer but cannot figure out how to do this without purchasing it again. How do I do this? Thanks!