PopUp of entry fields - better implementation

What is the best way to create a popup screen that allows you to enter right on top of the current screen information? I tried to do a PopupScreen but I couldn't had a button for it. Basically, I want to have a form that will collect information and then the user will select the button 'submit '. Can you give us a small sample as well? Thank you in advance.

PopupScreen is the way to go, it's no more difficult to use this screen.  Have another shot.

Tags: BlackBerry Developers

Similar Questions

  • Better implementation of a callback method to update the various fields?

    Hey everybody,

    I'm developing an application that uses the Google Translate API.  I set it up so that a user can specify a language before you do, and then once they connect, I have wrappers around each piece of text displayed on the screen which will result by the text based on the language selected.

    My problem is that several things must be brought on a given screen.  Therefore, I need to access Google Translate API several times per screen.  To do this, I opened a HTTPConnection on a new thread.  So I turn my screen Interface to the translator class, and then the translator class call my callback methods for the screen (requestSucceeded() or requestFailed()).

    Now, let's say that I have translated the title of the screen and the screen text.  These are two separate HTTPConnections.  So, when the title is translated, I want my requestSucceeded() setText method on my LabelField title.  When the body of the text is translated, I want my requestSucceeded() setText method on my body LabelField.

    What is the best way to have my requestSucceeded() method to differentiate the various fields to be updated?  Currently, I'm passing to the translator two things (via a string [] array): the text to be translated and a 'cookie', which describes the element being translated.  I then use if statements in my callback requestSucceeded() Update method the appropriate field based on the 'cookie' (which the translator will send in return and the text translated).

    I feel like there must be a better way to do this. Does anyone have any suggestions?

    Thank you!

    I don't know I understand your question, but it seems that this is to decouple the the task of translation of background of the user interface element that is being translated. You're already halfway to decouple the background translator of the mechanism that updates the user interface. What you seem to be missing is a nice way to specify the target of the translation without writing a lot of switch / if statements.

    Instead of having a translation callback object that serves several UI elements, you could create a reminder for each UI element. The reminders will always implement the same interface, so the task of the translator background will be not supported. For example, the interface could be something in the sense of:

    interface TranslationCallback {
      void translationCompleted(String translation);
      void translationFailed(Throwable cause);
    }
    

    Your user interface would then create a callback object that encapsulates a user interface element (for example, a text field) and implements the TranslationCallback above. Inside of the translationCompleted and the translationFailed logic will not need to understand which element to update, because the reminder is associated with a particular item in a particular category, for example, TextField.

  • Entry fields don't show up on my Android phone.

    Entry fields don't show up on my lg-ms695. I tried using different keywords, same thing.
    Any help?

    Thank you

    Felice

    Uninstall your firefox and restart your mobile and install fresh

  • View 2 records text entry fields

    Hello

    New on ADF and want to know how to do a particular task:

    I have 2 lines with 2 different IDs and want to display two records one after the other, I can achieve this by using a table but I want to put the data in the text entry fields?

    FOR EXAMPLE:

    ID name City ZIP code

    1 Fred Bloggs Leeds LS1 2 minutes

    2 Gary Smith Liverpool L2 in 4NP

    is this possible?

    Thank you

    Hello

    You can make use of af:iterator. First, create a tree binding based on the data control and use something like this.

               
                        
                        
                            
                            
                        
                        
                            
                        
                        
                            
                        
                    
                
    

    It would show two lines of data. You can adjust the rows property to display the number of lines. If you want all the lines, remove the rows property.

    Arun-

  • Pass a variable to a text entry field in a URL (was: I feel like it should be simple but)

    I think it should be simple, but I'm having a hard time finding how to pass a variable to a text entry field in a URL. I have a text input field ("enter your postal code') and a button that says 'Go '. When the user enters their zip and hit 'Go', I need the postcode, they came to pass in a URL to a new Web site so that they can see the offers in their region. This is a Flash 300 x 250 banner. Can someone help me?

    I can download my FLA somewhere and link to it if needed!

    Click on the frame that contains your go button and your textfield and paste Panel actions:

    go.addEventListener (MouseEvent.CLICK, f);

    function f(e:MouseEvent):void {}

    navigateToURL (new URLRequest ("http://namebrandinsurance.com/auto/newResults.php?zip=" + zip.text + "& submit = submit"));

    }

  • Captcha entry field width

    I was wondering if someone was able to manipulate the captcha entry field to do the same size as the image. He always seems to do 4 pixels wide. Any suggestion would be great. Thanks in advance!

    CSS it justr you do a width: 230px! important; on this subject, for example.

  • Changing the position of the cursor in a text entry field and remove digital zeros

    Flash8 - AS2

    It's good to be back after all these years and thank you for the people of faithfull as kglad, Ned Murphy, Rothrock and all others who give much of themselves to succeed this forum!

    My problem:

    I have a text entry field that is named in the box of properties like 'numberOfKids '.

    When the program is run, and a DELETE or BACKSPACE is pressed input textfield turns off

    and all the calculations that use the "numberOfKids" shows NaN.

    I got trapped in NaN and indefinite so that a digital 0 appears instead of a white one.

    There are two problems:

    First problem:

    The cursor to the left of zero, so the first number entered by the user is 10 x larger than what they want.  0 becomes 10.

    Question: How can I get the cursor to the right of 0?

    Second problem:

    When I manually move the cursor to the right of 0 and a number of entry, let's say 4, it appears like 04.

    Question 2: How to remove the zero digital in input textfield?

    Thanks for the help.

    Here is the code I use:

    calculateChildWeight = function () {}
    If (isNaN (numberOfKids)) {}
    numberOfKids = 0;
    }
    If ((numberOfKids) == undefined) {}
    numberOfKids = 0;
    }
    If (numberOfKids > = 0 & & numberOfKids < = 137) {}
    numberOfKids = numberOfKids;
    } else {}
    numberOfKids = 0;
    }
    If (isNaN (adjustedChildWeight)) {}
    adjustedChildWeight = 0;
    }
    If ((adjustedChildWeight) = undefined) {}
    adjustedChildWeight = 0;
    }
    adjustedChildWeight = Number (numberOfKids *(-100));
    numberOfKids.setSelection (numberOfKids.length, numberOfKids.length);
    If (numberOfKids.length = 2 & & numberOfKids < 10) {}
    remove the first character or no leading zeros
    numberOfKids = numberOfKids;
    // }
    };

    More important answer first: you get two helpfuls and one correct answer per thread. I think that once you give a specific answer a useful, you can't give the same answer. But I don't know.

    First of all, make sure that none of these text fields have a property of vars set.

    Also, you don't need to do it in two steps: revisedValue =-100 * parseInt (numberOfKids.text)

    As you read the value of your textfields of entry by using the text property, you also assign the value of the more dynamic by using the text property. That's what you do, right?

  • Average click boxes, and text entry fields are noted

    I create several CBT intended to show users how to navigate a new software. When I record, I choose the demonstration and training modes. For the part in training mode, I have several click boxes, and text entry fields. At the present time, when the user clicks on or between text, it has to click in the right place or enter the correct answer to move forward, otherwise a failure caption appears that says something to the effect of 'should have clicked here, please try again.' They try again and go to the next slide. When the training section is marked, everybody gets 100%.

    I was wondering if it is possible to create a user click in the wrong place or enter the wrong answer and still be able to advance to the next slide. So, not everyone would have a 100% automatic.

    Thank you!

    Mary

    P.S. I should also mention that I am using Captivate 4.

    Hello Mary,.

    As I wrote in my first response, simulation training is not intended to be marked. You should really start with a simulation of assessment to avoid having too many change thereafter.

    Have created a lot of assessments used in examinations (do not use an LMS, but this is not necessary) and my students would have been very happy if they could all have scored 100%.

    Enough joking. How you have configured the settings for the click boxes, text entry boxes, buttons? I give them only 1 attempt, never show failure, success, or legends of suspicion. As both actions for success or failure, I put in 'go to the next slide. The evaluation progresses so what was the action of the user, correct or incorrect. And the score will be awarded only if the user has performed the correct action. It works fine, really. If some actions need to be repeated several times, sometimes I will put the note of some of them to 0.

    Really think you can change the training simulation to work as an assessment, in the future it would be best to start with the last mode, possibly in combination with a demonstration or a training simulation.

    Does that help? My assessments are in Dutch, otherwise I could send you an example.

    Lilybiri

    PS: Be careful with the email reports, it does not always all right.

  • Extraction of numbers, no strings of text entry fields?

    Hello

    I have two input boxes that I can type numbers in.  I would like a third entry check box to show the total of the first two.

    I set up a listener to button on the stage to perform a function that adds together when a key is pressed.

    It comes, he puts just the strings together - it ddoesn can't add them

    So, how can I tell Flash that box1.text and box2.text are numbers?

    Box3.text = box1.text + box2.text is not doing.

    Thanks for your time.

    Shaun

    Hi celebrities music

    You will need to get the string to a number.  Something like:

    var firstNumber:Number = Number (box3.text);

    var secondNumber:Number = Number (box2.text);

    answer: var number = firstNumber + secondNumber;

    Of course, you want to make sure that the text in the text field is actually a number and someone was not able to type in a Word.  The best way to do it is NOT to do the textfield a text entry field.  Instead make a dynamic text field and give it a MouseEvent.CLICK event listener.  When someone clicks on the dynamic text input field, bring up a keyboard that requires them to enter the number in this way.

    I have an application exactly like this one where students had to enter a number in a text field to understand the econ issues.  The workflow has something like:

    1. Click the dynamic text field
    2. Bring up the Enter key digital
    3. When the user clicks on a number on the keypad, text matching using a switch statement
    4. Add numbers to text in a string field, that way someone who, between '1', '3' '8' will get 138 and not 12.
    5. With each press of button, update the dynamic text field to show what the user enters
    6. With the user presses the Enter key, then mount this text field in number and store it in a variable of type number

    Hope that helps.  Let me know if you need help with the code for one of these steps.

  • Text entry fields

    Hello.
    I have a clip that contains an e-mail form with text entry fields. This MC is then added to another clip which is then added to an another MC. When I test, text entry fields are displayed. The cursor changes to allow the input text, but you can not see the text and can't even see the white text boxes. Something that happens when the MC e-mail form is added to another clip, when you test the form e-mail MC on the main timeline, I have no problem.

    Help please as it is doing my head days.

    Thank you

    Yes they are, and after removing their everything works.
    You are the only person who was able to give a reason for my problem. We at flashkit or flashadvisor did not!
    I'll come here if I have another question.

    Bravo and thank you.

    M

  • How to show that a text entry field is selected.

    Hello
    How can I show that a text entry field is selected when _focusrect = false; and I use flash lite.
    When the text input field is selected, I want to change is the border color or show a shape... something like that or even the color of the text.

    If anyone is interested, the answer is:

    When the field is developing the text will be empty
    kword.onSetFocus = function(oPrevFocus:Object):Void
    {
    KWord.Text = "";
    }
    When the update go away text will be keyword
    kword.onKillFocus = function(oNewFocus:Object):Void
    {
    KWord.Text = '- key word -';
    }
    :-)

  • How can I make the popup with empty fields and create new record?

    I would use a popup create new record.
    I created an af:popup drag and drop a data control VO in jsff. Then, I created a button and place an af:showPopupBehavior. I was able to pop-up window by clicking on the button.
    However, the window filled with information from the record 1. and when I select a record in the table and click on the popup, the popup is filled with this record.
    How can I make the popup with empty fields and create a new record by recording the popup?
    Thank you

    Hello

    You must call the CreateInsert for the underlying ViewObject operation when opening the popup because it does not allow to clear the input field, you must have a new record created

    Frank

  • Better implementation of a key ASN code to add all these entries in the stack?

    Hi all

    Calculator: HP - 50 g

    as in the title, I want to assign [ASN] a key to a command which sums up all these entries in the stack.

    Is there a function already built-in, or should I try to write a code of RPL to put in the <> <> and ASN?

    Thank you.

    If I understand correctly, you must write in RPL in <> <> , then enter the correct code for the key to use and the correct code for the used shortcut and then just evaluate ASN.

    My question remains, is there a built-in feature that summarizes all entries present in the battery or not?

    And if it does not exist, should I write a RPL with a loop until there are no more entries in the stack?

  • Entry fields fill pages of document with tabs

    I need a method to submit a form field entry page which

    then fill various business documents in any of the other tabs interface or

    with the help of a diagram of button to submit the documents completed for printing.

    I have two questions in this regard:

    1. is it possible to create a tabs interface in LiveCycle Designer ES2?

    2. how to create a button to fill all or each individual business of data entered into the first page?

    Thank you

    Hello

    Let's say you had a page on cover and four other tabs, you can create a form of five pages. In the master page, along the top, you can create five buttons that contain the script to pass the five pages.

    I recommend a landscape layout, as it is for computer screens better, especially to adjust α page.

    In this case, the user could scroll through five pages or click on the button right along the top of the page.

    If you only want one page visible/available at any time, then you can assign four pages hidden - this excludes the layout. The buttons would then have an additional script to show/hide the pages.

    There is an old sample of Model-View-Controller somewhere on the Adobe Web site, which may be of interest.

    Regarding the second question, yes it is possible as well. The easiest way is to put the names of identical objects for fields that must reflect the same data. Then, in the object > link tab, set a global binding. This means that information you typed in on the first page will be automatically published on fields with the same name in the following pages.

    Hope that helps,

    Niall

  • OnChange doesn't work on lov popup for a field in the collection

    I've defined a collection and used a multi-record entry
    I'm trying to assign values in the various fields of the record collection based on a popup lov value in the same folder of the collection

    For this I used an onchange in field properties in the State

    but not work

    When I try to use the same thing for the different field of a popup lov works well (list, textfield, etc.)

    Why?

    When I use a popuplov in the page as a field not in a multi-record factory too...

    Can you help me?

    Thank you
    Daniel

    Hello

    It's because of the way that the element is built by Apex - it doesn't have a 'Attributes of the HTML Form element' setting as it is on a normal form element.

    In your area, add something like the following in the foot of the region:

    <script type="text/javascript">
    var f03 = document.getElementsByName("f03");
    if (f03.length > 0)
    {
     for (var x = 0; x < f03.length; x++)
     {
      f03[x].onchange = new Function("alert('Here');")
     }
    }
    </script>
    

    replace f03 whose attribute name of fnn for your items (you can check this by doing a View Source on the page).

    Replace "alert ('Here')"; with the script you want to run.

    Andy

Maybe you are looking for

  • best way to back up files

    Hello! Until recently, I've been using my Mac OS X for personal use. Internet and photos about. Now, I have a business and am trying to learn to fully use my laptop in support of my business. I downloaded the El Capitan and were a bit lost because, a

  • Could not find 'Rich Text' / directions HTML with on-screen keyboard, when I dial G-mail

    Thank you very much for reading my very first Apple Support query Community.  As all of you know, a physical (or Windows) keyboard will allow you to embolden... italic... & or underline your text. any place where you see fit.  Yet our I pad "OSK". do

  • HP AC125TU (N8M38PA): cannot install HP Coolsense on my laptop

    Whenever I try to install HP Coolsense it says 'there is a problem with this Windows Installer Package. A program run as part of the Setup program has not finished as planned. Contact your provider staff or the support package' Is it necessary to ins

  • uxlib.dll file is missing when I try to install windows 7.help?

    Hello When im trying to upgrade my windows vista computer to windows 7 32 bit... There is an error indicating that the file uxlib.dll is missing. I got the windows operating system 7 at my school... It is a copy free and legal... uxlib.dll file is mi

  • How to recovery (hp 15 r014tx)

    I want to know how to use recovery given with laptop in case where I am facing some problems with windows. Thank you.