Staying in the same tab SPRY after a form validation

Hello
I am using SPRY tabs in a page there are three tabs.
In Tab 3 there is a search form and the result is displayed below.
After validation from the tab 3 is a tab 1 that appears, for it is he who is in default property, it's normal.
Question, how to stay in the tab 3 after validation.
Thank you in advance for your answers.
Cordially
JPierre
Excuse me for my bad English

Thank  you, that's what I want to get, but I'm working on a MySQL database.
I am  using SPRY components for field research.
How to search for  in the data table without refreshing the page?
Have you example  code that you contact me ?
The tab search is number 2,
Here is my code  tab search:
<div class="TabbedPanelsContent">
      <p> </p>
      <form id="form1" name="form1" method="post" action="index.php">
        <span id="sprytextfield1">
          <input type="text" name="nom" id="nom" />
          <span class="textfieldRequiredMsg">Une valeur est requise.</span></span>
        <input type="submit" name="button" id="button" value="Envoyer" />
      </form>
      <?php if ($totalRows_rs1 == 0) { // Show if recordset empty ?>
  <p align="center">Aucun resultat</p>
  <?php } // Show if recordset empty ?>
      <p> </p>
      <?php if ($totalRows_rs1 > 0) { // Show if recordset not empty ?>
        <table border="0" align="center" cellpadding="0" cellspacing="2">
          <tr>
            <td>id_client</td>
            <td>nom</td>
            <td>prenom</td>
          </tr>
          <?php do { ?>
            <tr>
              <td><?php echo $row_rs1['id_client']; ?></td>
              <td><?php echo $row_rs1['nom']; ?></td>
              <td><?php echo $row_rs1['prenom']; ?></td>
            </tr>
            <?php } while ($row_rs1 = mysql_fetch_assoc($rs1)); ?>
        </table>
        <?php } // Show if recordset not empty ?>
<p> </p>
    </div>
  </div>
</div>
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
//-->
</script>
========
Thank you for your help
Cordially JPierre

Similar Messages

  • Firefox jumps from tab group to tab group when tab is closed. Why? It should stay in the same tab group.

    Firefox jumps from tab group to tab group when tab is closed. Why? It should stay in the same tab group.
    Is it bug? In any case it is very inconvenient.

    Ahh. Thanks. That seems like a bit of a hassle though. If I were to create more tabs in the group, would I have to re-bookmark all the tabs?
    I would really love it if I could just pull them in and out of the tab group screen :)
    Thanks for your help!

  • When I search for something, firefox opens a new tab with the results. How can I change the settings to where it will all stay in the same tab?

    When I search something Firefox automatically opens a new tab with the results of this search. How do I change the settings to where the results will appear in the same tab as where I conducted the search?

    Whether to open search results in new window most often is a setting of the search engine you are using.

  • I want Firefox to stay on the SAME tab instead of going to the FIRST tab after saving a page

    Several months ago FireFox (7) started going to the FIRST tab after saving and other actions.
    This is extremely irritating as I usually have several windows with numerous tabs open and its very time consuming to find the tab I was on.
    In fact, I have to open tabs in a new window prior to saving the page if I need info on that page for the file name as it's impossible to go anywhere but the first tab while at the prompt for the page name.
    I hope it's not supposed to do that and greatly appreciate help to fix this.
    Thanks, Christine

    The photo app puts files in date/time order and ignores their names.
    You can look for another app that may honor file names (sorry, I don't know any to recommend) or you can find a program that alters your file properties. If all the files have properties that read the same date and time, then it defaults to alphabetical order

  • Why does Firefox switch focus to an immediately adjacent tab (in a series of tabs) on middle-clicking a link instead of staying on the same tab? (with setting of NOT switching to new tab).

    I have usually 4 tabs open by default. If, for example, I'm in the first tab and middle-click a link to open a new tab, the tab opens but firefox focuses on the tab immediately adjacent to the tab I'm on (in this case, from tab 1 to tab 2 instead of staying on tab 1 whilst tab 5 is loading). The pattern repeats if I'm on tab x and open a new tab from tab x, but focus shifts to tab (x+1) instead of staying on tab x.
    It happens more often than not, i.e. it sometimes stops but usually happens.
    I have this setup for a year now and this is the first time this is happening. I believe since this latest update of 3.6.13.

    This issue can be caused by an extension or plugin that isn't working properly.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • When I'm on my forum and click the banner to go back to the home page, it opens up a new tab of the home page instead of staying in the same tab; how do I fix this? :S

    http://www.sbcforums.com/forums/
    It's EXTREMELY annoying. >.>

    Third-party system modifications are a common cause of instability and poor performance. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions -- they’re easy to carry out and won’t change anything on your Mac.
    Reboot as usual (not in safe mode) if you haven't already done so. Launch the Terminal application, copy or drag -- do not type -- the line of text below into the window, and press return:
    kextstat -kl | awk ' !/apple/ { print $6 $7 } '
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.)
    Next, do the same thing with this line:
    sudo launchctl list | sed 1d | awk ' !/0x|apple|com\.vix|edu\.|org\./ { print $3 } '
    That's one line, not two. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
    Next, this command:
    launchctl list | sed 1d | awk ' !/0x|apple|edu\.|org\./ { print $3 } '
    Again, one line. Finally, one more:
    ls -1A {,/}Library/{Ad,Compon,Ex,Fram,In,La,Mail/B,P*P,Priv,Qu,Scripti,Se,Sta}* 2> /dev/null
    Remember, this is all drag-and-drop or copy-and-paste, whichever you prefer -- no typing, except your password.
    You can then quit Terminal.

  • How to stay on the same space when closing a window?

    I love multiple workspaces but ever since I came to OSX a feature is driving me nuts.
    Every time I close a window, the previous window comes in focus, and if that window was on a different workspace, the OS switches to that desktop. This can be disabled from System Prefferences > Mission Control > When switching to an application, switch to a Space with open windows for the application.
    BUT. I DO want that, when I cmd tab to a window, I DO WANT to go to a different space when I switch to an application. But when I close a window, I don't want my desktop to be flying around like crazy, it's confusing. I would prefer instead of switching to the last application in the stack to switch to the front-most application on the current space (that's natural since it's in there, in front of you). I can do all the switching I want after that. It's not ok if the desktop is flying around on its own, but it's ok if it flies around when I ask it, that's it .
    If there's no window on a space after I close something I would still prefer to stay on the same space and switch manually afterwards.
    Is there any way to do this?

    Here's an approach:
    Delete your existing Create button and then redefine it as a copy of Create & Exit.
    Then create two Page Branches, one that branches back to your Menu when the Create & Exit is pressed and another Page Branch that remains on your current page when the Create button is pressed.
    Jeff

  • How can I stay on the same line  when inputting values in the CLI?

    The title is a bit vague i know :) but i have this issue which isn't really a problem but it would be better if I can solve it.
    Intro)
    I've made this simple addition (and more options but thats not relevant) application for kids in my spare time so that they can train their maths in school and compare their results with other students which is saved in the database using the hypersonic DB that comes with the JBoss application server.
    Now so far so good, but i'm having an issue with the Scanner (I think, but i doubt its because of the CLI) , when i enter a number or text it works and exceptions will be catched etc but when i press the enter key without anything entered the input value wil be displayed a line below and that's not what I want. I want it to stay in the same line.
    Sample CLI output:
    bla application
    ***By: deAppel***
    Ver: 31/10/2007
    Your name:     deAppel
    Your class:     MasterClass
    How many sums you want to make? 14
    Time: 22:03:27
    1: 32 + 40 =     72
    2: 38 + 19 =     57
    3: 5 + 57 =     62
    4: 30 + 20 =     1
    5: 57 + 54 =     2
    6: 33 + 17 =     3
    7: 38 + 54 =     4
    8: 23 + 23 =     5
    9: 48 + 47 =     95
    10: 29 + 55 =     6
    11: 48 + 11 =     7
    12: 1 + 40 =     41
    13: 46 + 35 =     91
    14: 23 + 52 =     75
    Answer 1:      72     You answered:      72     (good)
    Answer 2:      57     You answered:      57     (good)
    Answer 3:      62     You answered:      62     (good)
    Answer 4:      50     You answered:      1     (wrong)
    Answer 5:      111     You answered:      2     (wrong)
    Answer 6:      50     You answered:      3     (wrong)
    Answer 7:      92     You answered:      4     (wrong)
    Answer 8:      46     You answered:      5     (wrong)
    Answer 9:      95     You answered:      95     (good)
    Answer 10:      84     You answered:      6     (wrong)
    Answer 11:      59     You answered:      7     (wrong)
    Answer 12:      41     You answered:      41     (good)
    Answer 13:      81     You answered:      91     (wrong)
    Answer 14:      75     You answered:      75     (good)
    EndTime: 22:04:18
    Total good: 6
    Total wrong: 8
    Total sums answered: 14
    Final score: 42.857143%
    Upload score? (yes/no): no
    Compare score from other users? (yes/no): no
    Want to try again? (yes/no): no
    ********Made by: deAppel @ http://www.link removed cause it doesnt matter .com*********
    ************The application will close within 5 seconds*************
    To sum it up for those that don't like to read my post:
    1: 32 + 40 = 72
    2: 38 + 19 =
    whitespace <-- this happens because of the enter
    whitespace <-- this happens because of the enter
    57
    3: 5 + 57 = 62
    I want the input to stay in the same line unless you have typed something. I feel silly for not knowing how to handle this.
    Hm.. i'll tried to solve it myself but it seems that im unable to do that.
    /me takes a quick coffee break and will look at the code again after that *

    paulcw wrote:
    It sounds like you want either a CURSES implementation (I believe there's one for Java), or just move to a GUI.I was planning to create a GUI for it eventually, but i just wanted to solve this one first and make sure everything works the way i want it too. I'll take a look at the CURSES implementation thanks.

  • How do I turn off tab groups?It forces the same tabs to reopen in next session

    I upgraded to 6.0.1 and experimented with the tab groups. Now I cannot turn it off. It seems to force the same tabs to be opened with the next session. I had (and still have) the warn me when I close multiple tabs. It overrides that option if I click the close the window. It just closes the firefox window and reopens all the tabs with the next session. This nullifies the best feature that firefox had over chrome.
    Please help me to get my old Firefox back...

    I'm with you permazorch...
    I like them. I want them to stay attached and open all of them when I open FF.
    I just wish there was a way to lock them at a particular point.
    Occasionally, I mistakenly close a batch of tabs from my second screen... when I close my primary screen, it forgets the second screen tabs, and I have to reopen and regroup the tabs I closed by mistake when I re-open FF...
    I love tabs and wish there was a way to keep them in spite of the fact that I might occasionally close them in the wrong sequence by mistake from time to time ...
    Any recommendations for locking the tab groups once configured?
    Until that time ... Earl J.

  • Firefox opens Google link in the same tab (the way I like it), but I can't figure how to keep that and still have YouTube windows pop-up in a new tab. Help?

    Hello, here is my problem: reading your mozilla support, I learned how to make Firefox open links in Google results in the same tab, that's the way I like it, but I still like to have my YouTube windows pop-up in a new tab (I participate in one forum, when I come to the YouTube window in some topic, I usually click on a small right-down button "watch on YouTube", and that always opens video it in a new tab; all until latest few updates of Firefox). Can this issue be corrected in about:config feature, and how? Sorry if my English isn't so glorious.
    Thanks a lot for answering, and best regards...

    Hello. I have just tried this add-on you suggested, and no change.
    And no, there was no some other add-on before, not that I know about it. Mainly, I need this option while I'm on a forum (IP board powered), it is not really something so important, but it's neat function for me.
    So, to be more detailed - I read a certain topic on this forum, and some of the posts from other members contain YouTube screens (looking same as on the original YouTube page), showing the frame of a video.
    In earlier versions of Firefox, I used to click on a small YouTube logo button (right side, down, between "watch on full screen" and "watch later" buttons). Clicking on this button automatically opened new tab, leaving forum tab as it is, and in new tab original YouTube page, with that certain video. In the same time, in Google search page, when clicking on a link, all links were opening in the same tab.
    Now, after some of the latest updates of Firefox, I noticed that some default settings were changed - in Google search, clicking on a link always opens a link in a new tab. I have found out here on your forum how to set this back in about:config feature, and now I have again that links in a Google results page are opened in the same tab (that's the way I like it).
    But YouTube screens on this forum are now also being opened in the same tab, and that is what I don't like, and trying to change back.
    So, what I need: all links to open in the same tab after clicking, as I have it now, and YouTube screens (e. g. on this forum) to be opened in a new tab (by clicking on a small YouTube logo ("watch this video on YouTube").
    Pedantic I am, I know that, and I know that this may look silly to some people, but if there is a way to do something, please tell me.
    Thanks for answering, and best regards.
    P.S.
    Is it possible that forum updates changed my setting, and not the Firefox? Thanks again...

  • How to display data in the same tab components ?

    Hi,
    I have a tabbed pane and contains 3 tabs. I have entered some value in the text field and clicked the enter button in the 3rd tab.This enter button contains some validation code and after validation it will display some data in the text area in the same tab. In the mean time , i am navigating to another tab eg first tab. But my data is displayed in the second tab instead of 3rd tab.
    can anyone help me to solve this ?
    bye for now
    sat

    But my data is displayed in the second tab instead of 3rd tab.
    can anyone help me to solve this ?Then you are updating the component on the second tab. Fix your code.

  • When I open a link in a website it opens as a new window instead of just staying on the same page

    In any website, when I click on a link it opens in a new window.this even occurs in google when I click any of the results it opens in a new window instead of just staying on the same page.tabs work fine however, it is just links on websites.

    Did you check the search settings on the Google Search Settings page?
    * http://www.google.com/preferences?hl=en
    ''Where results open: Open search results in a new browser window.''
    You can set the browser.link.open_newwindow pref to 1 to open links by default in the current tab.
    *http://kb.mozillazine.org/browser.link.open_newwindow (3)
    You can set this pref to 0 (zero) to do this for all widows opened via JavaScript.
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction (0)

  • Shape does not stay on the same page

    How do I get shapes to stay where I put them? Specifically:
    1) How can I draw *circles around words* and make them STAY around those words, even when I add text and page-breaks above those words?
    2) How can I draw *arrows ON my pictures* and make them STAY on my pictures, even when I add text and page-breaks above those pictures?
    My dilemma is that "+moves with text+" ensures that they stay in the same place, even when I add text or page-breaks above the circles and arrows, BUT the circles and arrows are treated as text and I can't place them AROUND/ON my words and pictures.
    The only other setting, "+fixed on page - no object wrap+" lets me place circles and arrows to be AROUND/ON my words and pictures (instead of beside), but they don't move WITH my text and pictures.
    ARGH!!!!
    Any help is greatly appreciated!!!!!

    {quote:title=Brie Fly wrote:}
    Many (including Pages™) will let you add circles and pointers in a meaningful way, but only after your words have been substantially processed.
    What do you mean by "substantially processed"?
    And the feature I'm describing (having a shape linked to text so that it moves with the text) is a feature I have used in MS Word. In their terms, you "anchor" your shape to a spot in the text. When that spot in the text is moved, the anchored shape moves with it.
    Thanks for the input though, Brie.

  • Delete and stay on the same page!!!!

    Hi guys,
    As elaborated in the following Picture:
    http://www.9m.com/upfiles/PlT97853.png
    I have a report and a form on the same page. When press delete I want to delete the checked boxes and refresh "DOWNLOAD" region or stay on the same page.
    NOTE: "The Action" Of delete button is - Submit page.
    I hope my question is clear and look forward to get help.
    Thanks In Advance,
    Fateh

    Hi,
    Can you please create a branching statement under after processing, you can refer the same page itself. So after deleting process it will come to same page.
    Hope this might help you.
    Thanks & Regards
    Srikkanth.M

  • Raising a Message and staying at the same screen

    Hi,
    i had searched SDN before posting this thread
    I'm working on a Enhancement for CO12.
    The issue is that after raising a message i have to stay at the same screen.
    I raised the error message like below, but after this message the whole screen is getting plain.
    MESSAGE 'Quantite confirmee ' TYPE 'E'
    I change my message type as STATUS, this message is display but the transaction doing its work.
    MESSAGE 'Quantite confirmee ' TYPE 'S'
    Can you please tell me how to get rid of this issue?
    Thanks
    Always LEarner

    Thanks Guys!!
    I tested with all options provided by you people. When i write CALL SCREEN 1000 it is going to dump. I think its unable to identify
    the screen.
    When i tried to raise a error message like below, message is getting triggered but its not stopping here because the message is of type 'S'
    MESSAGE 'Quantite confirmee incomplete' TYPE 'S' DISPLAY LIKE 'E'.
    When i tried to raise a error message like below, message is getting triggered but its making the whole screen plain
    MESSAGE 'Quantite confirmee incomplete' TYPE 'E' DISPLAY LIKE 'S'
    If i'm using 'EXIT' after the message statement , its coming out of the include
    And, I have read the documentation of CONFPP05.
    The documentation says :-
    In this customer enhancement it is strictly FORBIDDEN to send error  
    messages or other messages because otherwise there is the danger that
    data will be inconsistent. SAP takes no responsibility for this !!!
    So, is there any way to raise an error message and stay on the same screen??
    Thanks & REgards
    Always Learner!!

Maybe you are looking for