![]() |
![]() |
||||||
|
|||||||
| Tags: box, deleting, text |
![]() |
|
|||
|
Hi everyone:
I'm using authorware for an exercise that's part of my thesis. Simply put, the task involves individuals searching through a bunch of pages of information and recording what they find on a separate page. The pages they search through is set up within a single framework, where they can navigate among all of the pages of information. If they find something, they click on a button which moves them to a sub-framework (within the existing framework) which is essentially a pop-up box with a large text field, (text interaction) where they enter the information they find. At that point, they can navigate back to the original framework and continue looking for information, click on the respond button and enter anything else they found (and so on). The problem is, when I navigate back to the pop-up box after resuming my search of the information, anything I've typed in the text field is lost. I'd like to have it so the original information typed is present (either grayed out or active). I need to have everything they type saved for me, and I'd like them to be able to review information they have already typed. The other part of this that I would like to incorporate (but is not as necessary) is a numbering scheme, so when they first click on the text box it starts with 1... when they hit enter it goes to 2. etc... Thanks again for any help in advance. Ben |
| Sponsored Links |
|
|||
|
Build your note taker interface with scrolling text above text entry. When
the user enters a note and returns you add the note to the full collection NoteCount := NoteCount + 1 Notes := Notes ^ Return ^ Return ^ NoteCount ^ ". " ^ EntryText@"Note" Your display icon above the note interaction will contain {Notes} in a scrolling text box. They can slide it up and down to review but they can't change or remove anything. When you're ready to save it you can use WriteExtFile( FileLocation^"Notes.txt", Notes). HTH, Mike ==================== Mike Baker Adobe Community Expert mike-baker at cox dot net |
|
|||
|
Thanks Mike!
I did exactly what you said, and it's getting closer. My only problem is that none of my text is being added to this new text box. Here's what I have. The whole thing is in a single Framework. The first icon is a display. In this display, I've added a text box with the {Notes} function you mentioned. After the display, there is an interaction with two functions. The first is a button that allows them to return to the previous framework (kind of like an exit to this framework). The second is a text field that leads to a calculation (where I put the code you entered). So now, when I run it, if I type some text in the text field and leave the framework, when I return to it, there is a 1. in the display text box but none of the text that I had previously typed. Sorry to keep bothering you. I am quite new at this whole thing. And I certainly appreciate all of your help. Ben |
|
|||
|
The name "Note" in the line where it says EntryText@"Note" has to be the
name of the interaction icon where the user types the text. Check EntryText in the help files. Use Trace(EntryText@"Note") in the calc icon on a line by itself to be certain that you have the right thing, you should see what was typed. If the display is always on screen and you want to keep adding to it then select the display icon and check the "Update displayed variables" option in the properties. It doesn't sound like that's the problem since you can see the 1. there. Mike ==================== Mike Baker Adobe Community Expert mike-baker at cox dot net |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise