Can't include a reset button/process that cleans a search text field

Hi all
Using apex 3.0.1 on a XE edition
In my app there's a report that displays a lot of records.
I included an text field item, where user can type a search criteria, then i added a button called "search" which, when submitted, display the records where search criteria is included.
Now, my problem is that i can't put a "reset" button, which, when submmitted, is supposed to clear the search text field, so the report display all records.
I tried adding a branch that triggers when reset buttos is pressed, clearing cache of search text field. It didn't worked, search string keeps on showing on text field.
Then i changed the process, instead of clearing cache, setting search text field item with a value of null. Didnt work either...
Does anyone have a good example of thjis type of reset button???
tnks in advance....
Fernando

yes Earl, i know it's pretty standard...but i got some trouble... anyway, i think it was just a "lapsus brutus" o' mine... It's solved now and here's what i did:
I created a text field button (where search string will be typed), a "submit as Go" button, and a "submit as reset" button. Then i created an uncondicional branch to same page, then i created a Clear Cache for Item process, where the text field cache is cleared, conditioned when "submit as reset" button is pressed.
That solved the problem, thnx very much for your help
fernando

Similar Messages

  • Answer: to How can I get the reset button to work.

    How can I get the reset button to work?: Answer
    Thanks to everyone who helped on this. You are awesome. Especially Ned!!  Posted here because I was unable to add more to the existing post.
    Here is the question:
    When you click on the reset button, this error below comes up. If you can't find the button it is the navy colored rectangular thing in the lower left corner of page.
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
        at flash.display::DisplayObjectContainer/removeChild()
        at AddATree2/onReset()
    When you click on the reset button, this error below comes up. If you can't find the button it is the navy colored rectangular thing in the lower left corner of page.
      Here is the answer:
    //when you click the reset button everything is removed from the stage
        //except the star, baclground, and reset button (trees and greeting REMOVED)
        public function onClear(Event:MouseEvent):void
                if (tree3) removeChild(tree3);
                if (tree2) removeChild(tree2);
                if (webText) removeChild(webText);
                if (tree) removeChild(tree);
                clickCount = 0;

    This is the answer to what to put in the onclear function.

  • Can we include a table data inbetween a paragraph using a text module

    can we include a table data inbetween a paragraph using a text module or standard text.
    For eg:
    This is the output for purchase order &itab-ebeln& and this purchase order &itab-ebeln& has been released.
    I want the purchase order number to be placed inbetween these line as shown above. Can anyone help me on how to do this.
    Regards,
    Rose.
    Edited by: camila phyrose on Feb 18, 2008 11:11 AM

    Hi,
    You can do this in the Text module by adding the fields with the 'Insert field' icon (just as you would with a text element).  The Text module doesn't understand their content, but at runtime provided your smartform does this will work.
    Regards,
    Nick

  • How can I get the reset button to work?

    When you click on the reset button, this error below comes up. If you can't find the button it is the navy colored rectangular thing in the lower left corner of page.
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
        at flash.display::DisplayObjectContainer/removeChild()
        at AddATree2/onReset()
    Here is the code:
    THERE IS AN ATTACHED .FLA AND 3 AS FILES, RESET, TREE, AND ADDATREE2
    Appreciate your thoughts!  w_sights
    ADDATREE2.AS
    /* AS3
        Copyright 2008 __MyCompanyName__.
    package
         *    Class description.
         *    @langversion ActionScript 3.0
         *    @playerversion Flash 9.0
         *    @author
         *    @since  19.05.2009
        import flash.display.Sprite;
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
        import flash.events.Event;
        import flash.utils.Timer;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.StyleSheet;
        import Reset;
        import Tree;
        public class AddATree2 extends MovieClip {
            // CLASS CONSTANTS
             //  CONSTRUCTOR
             *    @Constructor
            public function AddATree2(){
                reset.addEventListener( MouseEvent.CLICK, onReset ) ;
                reset.buttonMode = true ;
                reset.mouseChildren = false;
                mcAdd.addEventListener ( MouseEvent.CLICK , onClick ) ;
                mcAdd.buttonMode = true ;
                mcAdd.mouseChildren = false;
                //var reset_btn:reset = new reset();
            //  PRIVATE VARIABLES
                private var clickCount:Number = 0;
            //  PUBLIC VARIABLES
                public var reset:MovieClip = new MovieClip();
            //  GETTER/SETTERS
            //  PUBLIC METHODS
            //  EVENT HANDLERS
            private function onClick ( evt : MouseEvent ) : void
                clickCount++;
                switch(clickCount)
                    case 1:
                            var tree = new Tree ( ) ;
                            addChild ( tree ) ;
                            tree.x = 430;
                            tree.y = 300;
                            tree.scaleX = .95;
                            tree.scaleY = .95;
                            var brickham:BrickhamScriptProBMP = new BrickhamScriptProBMP();
                            var fmt:TextFormat = new TextFormat();
                            fmt.font =  brickham.fontName;
                            fmt.size = 58;
                            /*var regularText:TextField =  new TextField();
                            regularText.autoSize = "left";
                            regularText.embedFonts = true;
                            regularText.defaultTextFormat = fmt;
                            //regularText.text = "Merry Christmas"
                            addChild(regularText);
                            var css:StyleSheet = new StyleSheet();
                            css.setStyle("p", {fontFamily:brickham.fontName, fontSize:78,color:"#FFFFFF"});
                            //css.setStyle("a", {textDecoration:"underline"});
                            var webText:TextField = new TextField();
                            webText.autoSize = "left";
                            webText.embedFonts = true;
                            webText.styleSheet = css;
                            webText.htmlText = "<p>Merry Christmas</p>";
                            webText.x = 52;
                            webText.y = 41;
                            addChild(webText);
                            break;
                    case 2:
                            var tree2 = new Tree();
                            addChild(tree2);
                            tree2.x = 175;
                            tree2.y = 450;
                            tree2.scaleX = .65;
                            tree2.scaleY = .65;
                            break;
                    case 3:
                            var tree3 = new Tree();
                            addChild(tree3);
                            tree3.x = 45;
                            tree3.y = 365;
                            tree3.scaleX = .45;
                            tree3.scaleY = .45;
                            break;
               /*     case 4:
                            var tree4 = new Tree();
                            addChild(tree4);
                            tree4.x = 660;
                            tree4.y = 195;
                            tree4.scaleX = .25;
                            tree4.scaleY = .25;
                            break;
            //mcAdd.removeEventListener ( MouseEvent.CLICK , onClick ) ;
            //  PRIVATE & PROTECTED INSTANCE METHODS
            /*reset_btn.addEventListener(MouseEvent.CLICK, resetButton);*/
            function onReset(event:MouseEvent)
                var webText:TextField = new TextField();
                var reset:MovieClip = new MovieClip();
                reset.x = 450;
                reset.y = 500;
                reset.scaleX = .01;
                reset.scaleY = .01;
                addChild(reset);
                stage.addEventListener(MouseEvent.CLICK, removeWebText);
                var tree = new Tree();
                removeChild(tree);
                var tree2 = new Tree();
                removeChild(tree2);
                var tree3 = new Tree();
                removeChild(tree3);
            public function removeWebText(event:MouseEvent):void
                var webText:TextField = new TextField();
                var fmt:TextFormat = new TextFormat();
                removeChild(webText);
    TREE.AS
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Tree extends MovieClip
            function Tree()
                addEventListener ( Event.ADDED_TO_STAGE , onAddedToStage ) ;
            private function onAddedToStage ( evt : Event ) : void
                width = stage.stageWidth ;
                height = stage.stageHeight ;
    RESET.AS
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Reset extends MovieClip
            function Reset()
                addEventListener ( Event.ADDED_TO_STAGE , onAddedToStage ) ;
            private function onAddedToStage ( evt : Event ) : void
                width = stage.stageWidth ;
                height = stage.stageHeight ;

    Hello:
    Thank you for responding so quickly.
    I have added child and it has removed the error. However, the button icon has disappeared as you can see when you play the .swf and the reset button doesn't clear the stage of everything but the star and the back ground.
    See new code:
    /* AS3
        Copyright 2008 __MyCompanyName__.
    package
         *    Class description.
         *    @langversion ActionScript 3.0
         *    @playerversion Flash 9.0
         *    @author
         *    @since  19.05.2009
        import flash.display.Sprite;
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
        import flash.events.Event;
        import flash.utils.Timer;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.StyleSheet;
        import Reset;
        import Tree;
        public class AddATree2 extends MovieClip {
            // CLASS CONSTANTS
             //  CONSTRUCTOR
             *    @Constructor
            public function AddATree2(){
                reset.addEventListener( MouseEvent.CLICK, onReset ) ;
                reset.buttonMode = true ;
                reset.mouseChildren = false;
                mcAdd.addEventListener ( MouseEvent.CLICK , onClick ) ;
                mcAdd.buttonMode = true ;
                mcAdd.mouseChildren = false;
                //var reset_btn:reset = new reset();
            //  PRIVATE VARIABLES
                private var clickCount:Number = 0;
            //  PUBLIC VARIABLES
                public var reset:MovieClip = new MovieClip();
            //  GETTER/SETTERS
            //  PUBLIC METHODS
            //  EVENT HANDLERS
            private function onClick ( evt : MouseEvent ) : void
                clickCount++;
                switch(clickCount)
                    case 1:
                            var tree = new Tree ( ) ;
                            addChild ( tree ) ;
                            tree.x = 430;
                            tree.y = 300;
                            tree.scaleX = .95;
                            tree.scaleY = .95;
                            var brickham:BrickhamScriptProBMP = new BrickhamScriptProBMP();
                            var fmt:TextFormat = new TextFormat();
                            fmt.font =  brickham.fontName;
                            fmt.size = 58;
                            /*var regularText:TextField =  new TextField();
                            regularText.autoSize = "left";
                            regularText.embedFonts = true;
                            regularText.defaultTextFormat = fmt;
                            //regularText.text = "Merry Christmas"
                            addChild(regularText);
                            var css:StyleSheet = new StyleSheet();
                            css.setStyle("p", {fontFamily:brickham.fontName, fontSize:78,color:"#FFFFFF"});
                            //css.setStyle("a", {textDecoration:"underline"});
                            var webText:TextField = new TextField();
                            webText.autoSize = "left";
                            webText.embedFonts = true;
                            webText.styleSheet = css;
                            webText.htmlText = "<p>Happy Happy</p>";
                            webText.x = 52;
                            webText.y = 41;
                            addChild(webText);
                            break;
                    case 2:
                            var tree2 = new Tree();
                            addChild(tree2);
                            tree2.x = 175;
                            tree2.y = 450;
                            tree2.scaleX = .65;
                            tree2.scaleY = .65;
                            break;
                    case 3:
                            var tree3 = new Tree();
                            addChild(tree3);
                            tree3.x = 45;
                            tree3.y = 365;
                            tree3.scaleX = .45;
                            tree3.scaleY = .45;
                            break;
               /*     case 4:
                            var tree4 = new Tree();
                            addChild(tree4);
                            tree4.x = 660;
                            tree4.y = 195;
                            tree4.scaleX = .25;
                            tree4.scaleY = .25;
                            break;
            //mcAdd.removeEventListener ( MouseEvent.CLICK , onClick ) ;
            //  PRIVATE & PROTECTED INSTANCE METHODS
            /*reset_btn.addEventListener(MouseEvent.CLICK, resetButton);*/
            function onReset(event:MouseEvent)
                var webText:TextField = new TextField();
                var reset:MovieClip = new MovieClip();
                reset.x = 450;
                reset.y = 500;
                reset.scaleX = .01;
                reset.scaleY = .01;
                addChild(reset);
                stage.addEventListener(MouseEvent.CLICK, removeWebText);
                var tree = new Tree();
                addChild(tree)
                var tree2 = new Tree();;
                addChild(tree2);
                var tree3 = new Tree();
                addChild(tree3);
                removeChild(tree);
                removeChild(tree2);
                removeChild(tree3);
            public function removeWebText(event:MouseEvent):void
                var webText:TextField = new TextField();
                var fmt:TextFormat = new TextFormat();
                addChild(webText);
                removeChild(webText);
    ===============
    TREE.AS
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Tree extends MovieClip
            function Tree()
                addEventListener ( Event.ADDED_TO_STAGE , onAddedToStage ) ;
            private function onAddedToStage ( evt : Event ) : void
                width = stage.stageWidth ;
                height = stage.stageHeight ;
    RESET.AS
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Reset extends MovieClip
            function Reset()
                addEventListener ( Event.ADDED_TO_STAGE , onAddedToStage ) ;
            private function onAddedToStage ( evt : Event ) : void
                width = stage.stageWidth ;
                height = stage.stageHeight ;

  • HT201210 what can i do to reset my password that i have forgotten??

    What can I do to reset my password on my ipod touch. Ive forgotten my password

    If we are talking the passcode when it starts...
    You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the Device.
    Instructions can be found here.
    http://support.apple.com/kb/ht1808

  • Can I edit the list of words that are suggested when texting?

    When inputting letters into the keyboard, suggested words appear when the word is incomplete or misspelled. 
    Can one edit the list of words that the computer (Iphone 4S) retrieves from?
    Thanks!

    No, the list isn't directly editable.  However, if you reject the suggestion by tapping the "x" it will eventually learn the original word you typed and stop suggesting alternatives.

  • Is there a way to make text that is pasted into text fields be consistent?

    People want to paste text into the form fields but they don't want to have to change the font before they paste it and they would like it to change to a consistent font.

    And if Drew's excellent reply doesn't do it for you, here's some text I prepared earlier (in best Blue Peter stylee for those of you in the UK... ;-))
    The process is this:
    1) create your menu background with all of the graphics in a single layer - make it look like you want the menu to be when no button is selected. Add all text, etc for the buttons. Flatten it and save as a pict file, 24bit colour.
    2) add a layer to this photoshop image and just add the highlights that you want - a tick, arrow, underline, etc. Hide the background layer and convert this new layer to grayscale (you will need to flatten the image), then save it as a .pict file, 4 bit max - 2 bit could do it, too (You might now want to use the history tool to undo certain steps and save the file as a psd file so that you can make changes if you need to).
    3) import both .pict files into DVDSP and set one as the background and the other as the overlay into your menu. In the menu editor, click and drag the mouse over the places where the buttons need to be. Click in one of those button hotspots and look in the property inspector under the 'color' tab. Use the sliders there to adjust what you want the highlights to be in each button state - remember that you are using a simple overlay in gray scale.

  • Process order- Need a free text field to make comments

    Hi Gurus, when ever the production scheduler or the user opens the process order, he wants to make some notes/comments on the order itself (cor2 screen- header level). please advise is there any free text field in cor2 so that we can use for this purpose or can we make some settings to get that type of free fields. Please advise.

    Dear Raju,
    In T.Code COR2,after enterting into the change mode of process order - header - general data,next to the order no,you can find
    the long text entering option where in you can record the information in long text and save the data.
    Check and revert back.
    Regards
    Mangalraj.S

  • Check box or radio button to control image opacity and text field. javascript

    This is a little over head and skill set so I am reaching out to you fine people.
    I am using Adobe acrobat pro x
    I have radio buttons now but I can switch to check box if needed.
    What I need the Java script to do is...
    If Yes is checked then a text field labeled comments appears and an image labeled box changes the opacity to 100%.
    If No is checked then it does the opposite. Text field disappears and image goes to 0% opacity.

    This is the Adobe Reader forum.  You are more likely to receive a helpful answer if you ask in the appropriate Acrobat forum (e.g. Acrobat SDK).

  • After having no internet for over 24hrs, my IPad has completely shut down. I have tried everything I can think of, including a reset but think that was a really bad move!! Any ideas for how to get my pad back? Simple words please..I am not a pro AT ALL.

      My internet was down for over 24hrs after a storm. During that time, my IPad completely shut down and I can't get it going again.  I studied the manual but couldn't find a similar topic.  I reset it and now it is totally goofed up.
       Does anyone have any ideas or should I just take it to an Apple store and pay??  Any solutions you may have, PLEASE use simple words as I am not a pro, by any means....probably why I'm in this situation.
       Thank you in advance.

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • How do I include a 'submit' button so that clients can submit my form online?

    Once I have created my form and attached it to my website, how does a client submit it back to me?

    Thanks for the input. I think you might have a different version of LiveCycle than the copy I have since it looks a little different. However, I found the answer in Adobe help. I had to type "mailto:" before the email address to indicate it's an email and not a URL. See below.
    To collect form data as attachments to email, type mailto: followed by the email address. For example, mailto:[email protected]

  • What can be included in the *tar.gz that will be uploaded to AUR?

    Hi all,
    I read, that binaries shouldn't been uploaded to AUR, but what about other files like a tar.gz file?
    I came to this question because I'm maintaining the splashy package. The "arch" theme can't be hosted further on the place, where it is now and I have no possability to host it. So my question is whether I can include it in the *tar.gz file, that I upload to AUR ?
    thanks, dongiovanni

    ezzetabi wrote:@muchnert
    It's mucknert! Damn you!
    ezzetabi wrote:Nice points, still it is imprecise and I think the wiki message need to be written better, and this is why that message is here.
    After all you still need a text editor to `human read' a text file, maybe not a text editor but at least a file system driver you can't seriously watch directly the hard disk, it is not so different from a image editor to read a picture.
    Yeah, that might be the case. But that does not add anything to the argument. Of course everything on a computer is stored in binary. That does not mean that everything is executable machine-code. This is where the argument is actually taking us: compiled, executable machine code. An image isn't and neither is a plain text file.
    ezzetabi wrote:About interpreting and executing the difference is even more subtle, a C source file is a text, its compilated form is not, but I can use the C source file with an interpreter and have the same result...
    How is that difference subtle? The C file is encoded according to some character encoding (e.g. ASCII) and therefore, it is a plain text file. If you compile it you get a whole new, different file that bears no resemblance to the source-file. It is a stream of bits and bytes that manipulate certain registers and other parts of the hardware according to the specifications of said hardware. It is executable. A library has exactly the same basic layout: it is a stream of bits and bytes that, when laid on the registers and the functional units of the hardware, invoke a certain behavior, much like a key does in a lock (only more complex). The blueprint of the key (the C source) could not do that. The key itself (the executable file) does. The only difference of a library to an executable is that it can't execute itself by e.g. calling it's name from a shell because it lacks the syscalls to initiate a standalone start.
    And when you feed a C file to an interpreter, it compiles the file on the fly and feeds it to the hardware. It's not rocket science. The C file itself is not executable, the interpreter OTOH is because it is machine code. The interpreter takes the C file, interprets it and puts the bits and bytes on the register himself.
    Don't get me wrong but I think you lack the basic understaning of how a Computer actually works.
    As for the question why executable files and libraries should not be uploaded to the AUR: I can find one simple solution. Security. You can look at PKGBUILDs and see what they do. You can't do that with libs and executables. At least not easily. Case closed.

  • Create a form that can either end in "Submit" or "Process Payment" depending on the selected fields

    I have designed a Golf Tournament Registration form that includes a multiple choice field with 4 payment options
    1) Pay Online
    2) Mail a Check
    3) Direct Deposit
    4) Other
    When Option 1 is selected, the form should redirect the registee to the PayPal payments page that has already loaded personal information from the earlier fields
    When Option 2, 3, & 4 are selected, the form should redirect the registee to applicable information about how to proceed
    HOWEVER: the submission button at the bottom of Options 2-4 still reads "Proceed to Payment" which is confusing for golf participants who have elected to mail a check.
    *Is there a way to customize the submission button to elimate this possible confusion?

    So I see that I am not the only one with this question and that part of my question has been answered here: http://forums.adobe.com/message/4399918#4399918#4399918
    HOWEVER: is there no way to change the wording on the PayPal "Proceed to Checkout" button?  I just want it to say "Submit"

  • How can I set or reset the page that is loaded when I open a new tab using Ctrl t ?? by

    I recently downloaded a program that has, as an undesired additional action, apprently setup Yahoo as the page that opens by default when I open a new tab using <Ctrl> <t> (or the <+> symbol on the tab bar). This is aggravating to me, particularly as I have not been able to find a way to stop it occurring.
    I expect that it is buried somewhere in my profile, but I also have not found a way to explore or edit the contents of my profile.
    There is a JScript script file called "user" in ...\profiles\4g4vpust.default that I suspect is associated with the behaviour, but renaming it achieved nothing.
    Prior to this, my new tabs used to open as blank pages, i.e. did not load any URL and I was happy with that. How can I get back to that state?

    Did it add the freeze net assistant add-on? That add-on is known to do this. If you have that add-on you can uninstall it Firefox should revert to the default behavior.
    If you do not have that add-on, another add-on will be causing this, you can use the procedure in the following link to identify what one - https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Help - can't find a reset button on my Zen 20

    Does anyone know where it is? Or how to reset if not?I have a frozen player.

    You're welcome.
    If your Mac is running 10.5.7 or later, at the Mail.app menu bar go to Mail > Preferences > Accounts.
    Select the email account you created with the Mail.app.
    Under the Mailbox Behaviors tab for the account preferences, do you have Show Notes in Inbox selected?
    If so, notes synced with the Mail.app will be in the account's Inbox mailbox.
    If this is not selected under the Mailbox Behaviors tab for the account preferences, there should be a Notes selection under REMINDERS in the Mail.app mailboxes drawer where the notes can be selected and viewed.

Maybe you are looking for