Spry Submit and clear form

Hi all, I have a Spry.Utils.submitForm in my JS it will
submit the form and then in my callback I have it clear the form
element using document.formelement.reset();
The problem is, it seems that my form is getting reset before
the form is submitted. I am not sure why this would happen seeing
as it is in the call back and the submit should fire before
correct?
Anyhow, any info would be helpful.

The only field that has validation is the "Next Follow Up Date" field, it is a required field. Clicking the "Save" button submits the form.
http://www.buildingethics.com.au/validation_problem.php

Similar Messages

  • How do I make a button onj the form which will submit and send the pdf as an email?

    how do I make a button on the form which will submit and send the pdf as an email?

    You can set up a button with a "Submit a form" action and use a mailto type URL to specify the email address you want the forms sent do. If you want to send the entire PDF, select that option and not FDF or anything else. The mailto URL should not include any spaces and the "mailto" part should be lowercase, like:
    mailto:[email protected]
    This will attempt to initiate an email using the users default email client. If the user does not have one set up or there is some other problem, the email might not get initiated. If it needs to work with Reader versions prior to 11, then the form needs to be Reader-enabled, which you do in Acrobat 11 by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools

  • How can I embed a form on my website and set up a submit button so that when people fill out and click Submit, the filled form will be emailed to me as an attached pdf file?

    How can I embed a form on my website and set up a submit button so that when people fill out and click Submit, the filled form will be emailed to me as an attached pdf file?
    Thank you!

    Hi;
    That is not a workflow that is supported by the Adobe forms solutions at this time.
    Thanks,
    Josh

  • 40655SQL error forced rollback: clear form and re-enter transaction

    Hello ,
    I have ORACLE 10G & Forms 6i on Windows server 2008 . When I open the forms for some work , it give me error in few minis.
    FRM-40655: SQL error forced rollback: clear form and re-enter transaction.
    I have not done anything unusual in form design. it was working properly from a long time.
    Yesterday i set the default profile to idle_time = 20. Will that make any problem ???
    I checked my Alert Log but no sign of any deadlock in it, or any other unusual activity ....
    What is the solution ???
    Thanks in advance ..
    Edited by: DBA4 on Jul 17, 2010 11:43 AM

    Thanks for the reply ......
    I would like to tell some more details here.
    Previously i wanted to set an IDLE_TIME limit of 20 mins for all users in the DEFAULT profile.
    So i did the process for the same...
    I set the resource_limit parameter to true & then altered the default profile's idle_time to 20.
    soon after that all the users who were accessing the database got this error while working ....
    SQL error forced rollback: clear form and re-enter transaction.
    In our case one user is opened & accessed by many people.
    for ex - a user called UERP is open at Machine1 & also at Machine2. So at a time a single user can be opened at multiple sessions.
    can this be the problem for forced rollback ???
    My basic need is , i want to set the IDLE_TIME to 20 min but users should not face forced rollback error ????
    what should i do ???
    thanks in advance ....
    Edited by: DBA4 on Jul 19, 2010 2:28 PM

  • FRM-40655: SQL error forced rollback: clear form and re-enter transaction.

    Hello ,
    I have ORACLE 10G & Forms 6i on Windows server 2008 . When I open the forms for some work , it give me error in few minis.
    FRM-40655: SQL error forced rollback: clear form and re-enter transaction.
    I have not done anything unusual in form design. it was working properly from a long time.
    Yesterday i set the default profile to idle_time = 20. Will that make any problem ???
    I checked my Alert Log but no sign of any deadlock in it, or any other unusual activity ....
    What is the solution ???
    Thanks in advance ..

    This happens due to dead lock situation
    To avoid this problem, add NOWAIT option to the UPDATE and DELETE statements, which returns ORA-00054 error, trap this error and display user defined message like 'The record is being accessed and try after some time'.
    This even improves the performance
    because no process waits for the locks preventing dead locks.
    If it is due to the UPDATE's or DELETE's with base table blocks in the form, in the PRE-UPDATE and PRE-DELETE triggers write SELECT statements to select the particular row with FOR UPDATE NO WAIT option. Handle by trapping the ORA-00054 error

  • Web page form, click submit, and e-mails to me?

    I want to create a form on my web site for potential customers to fill out, click "submit", and is then e-mailed to me.  Is this possible in iweb?

    Here is what I did for my website http://www.pusatbahasa.org/pb/contact_us.html.
    First you have to create a php file and upload it to your server through cPanel or PHP clienct (but not through iWeb). Put the file in public_html, do not put it in folder you created using iweb becasue it will be deleted when you republish the site. you should be able to access the file in "www.yourdomain.com/contact-us.php". Here I attach the file I created, You  should change "[email protected]" you your own email address becasue the form will be sent to that email. Later, you can mess around with it. try changing things. You can edit this file using text editor like Text Wrangler. Download it here: http://www.barebones.com/products/textwrangler/
    DOWNLOAD: http://www.pusatbahasa.org/iweb/contact-us.php (To download, right click on the link and "Save as" or "Save the Link as")
    Secondly, you should create the form in iWeb using html snippet. Here I attach the code, open it using textwrangler, copy the content and paste it into your HTML Snippet. You should change the url for the file "contact-us.php" according to where you put it in your hosting. In my case I put it in "http://www.pusatbahasa.org/contact-us.php" Make sure to change that.
    DOWNLOAD: http://www.pusatbahasa.org/iweb/form.php  (To download, right click on the link and "Save as" or "Save the Link as")
    TROUBLESHOOTING.
    If the email is not sent to the email address you specified after you do the test, try to contact your hosting provider and tell them that "mail()" does not work. However, you need to make sure that your hosting support php first. Free hosting usually doesnt. MobileMe doesnt either.
    Hope it Helps,
    Faisal

  • A former employee has returned a 17" MBP and cleared the OS. All attempts to reinstall are failing, start up disc, repower C pressed, Cmd-R etc - anyone any ideas?

    A former employee has returned a 17" MBP and cleared the OS. All attempts to reinstall are failing, start up disc, repower C pressed, Cmd-R etc - anyone any ideas?

    Did you have the original OS installation disk?  If not, call Apple Customer relations and provide them with the MBP serial number (on the bottom) and they will send you replacements.  There is a charge.
    If this is a late 2011 MBP, the it came with Lion installed.  Try accessing the Apple servers with OPTION COMMAND R keys held down at start up.  The display should show a picture of a globe.  Proceed accordingly.  If no success, call Apple as already described.
    Ciao.

  • Using spry select on multiple forms in same page

    Greetings-
    My apologies if this has already been answered but after a few searches I've not found my solution....
    I have a web page with 2 different forms (completely different open form and close form tags) that I'm trying to get the Spry Select Widget to work in.
    Both forms' Spry Select widgets interact as expected with the user with one exception; the second form continues to submit to the action page even if the user is trying to submit an invalid value (the docs suggested using the value of -1 so that's what I'm using). The appropriate error gets displayed to the user but the form continues to submit, which I don't want. Is there a limitation that I missed regarding the use of multiple forms in the same web page with the Spry Select Widget?
    FWIW, I'm running the app on ColdFusion and even the cfform/cfselect won't work with the Spry Widget.... I've named and id'd all forms and form elements and still no luck.
    Any ideas?
    Thanks in advance,
    Rich

    Hi Brad,
    The preamble looks reasonable.  I would like to make sure you are clear on the process.
    The data needs to be rendered twice (i.e. a 2 step job).  In the first step you create a trace file with the page count for each document in it...\trace"^define User:PageCountForTrans_@:TransCount. @$page.@LF."."
    In the second step, that trace file is brought back in as a preamble file.
    Please confirm that you are in fact passing the data twice.
    cheers
    Chris

  • Spry validation and CFFORM

    I am using Spry validation on some of my forms and noticed
    that if I am using CFFORM, the validation works, but the form is
    still allowed to submit if the validation fails. If I change the
    cfform tags to regular form tags the validation works and the
    submit is NOT allowed. I really need to use CFFORM. Does anyone
    know what is happening here? Why is the form submitting even though
    the spry validation failed. ???

    Can we use onsubmit for simple form.
    Like below
    <form action="index2.php" method="post" name="loginForm"
    id="loginForm" style="clear: both;" onsubmit="return
    Spry.Widget.Form.validate(this)">
    <span id="username">
    <input name="username" id="username" type="text"
    class="inputbox" size="15" />
    <span class="textfieldRequiredMsg"> Username
    required</span>
    </span>
    <span id="password">
    <input name="passwd" id="password" type="password"
    class="inputbox" size="15" />
    <span class="textfieldRequiredMsg">Password
    required</span>
    </span>
    <a onClick="loginForm.submit();"> Login </a>
    </form>
    <script type="text/javascript">
    <!--
    //Text Field Vlidation
    var username = new
    Spry.Widget.ValidationTextField("username", "none", {minChars:1,
    maxChars:200, validateOn:["blur"]});
    var password = new
    Spry.Widget.ValidationTextField("password", "none", {minChars:1,
    maxChars:200, validateOn:["blur"]});
    //-->
    </script>

  • Spry, iFrames and IE

    Thanks for looking at this. Your feedback is appreciated it.
    Here are the facts:
    1) My page uses an iframe (I know they suck but without going
    into details, I'm stuck with it).
    2) The page in the iframe contains Spry validation text boxes
    and other form elements.
    3) If I submit the page without the iframe, all works great
    (i.e. the fields validate).
    4) If I submit the form with the iframe, the fields do not
    validate in IE7 without MULTIPLE REFRESHES/RELOADS OF THE FRAME. In
    other words, you can submit the form without filling in the
    appropriate input boxes.
    Yes, it sounds strange. This behavior does not occur in
    FireFox.
    Here are the appropriate links:
    Interior Form (the
    one in the iframe)
    Full
    Page with iframe
    Go ahead and click in a few of the input boxes to clear the
    content and then try submitting the form. Blanks are not allowed
    and you should see exclamation marks for blanks. Try it first in
    FireFox and then try it IE.
    Again, the only way I can get it to eventually work in IE is
    to reload/refresh the iframe content (right click > refresh) a
    few times.
    Thanks for any insight.
    Cheers.
    NOTE: The validation problem only occurs with input boxes.
    Checkboxes and selects seem to work fine in both browsers.

    This might help http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one and this http://labs.adobe.com/technologies/spry/samples/menubar/AutoWidthHorizontalMenuBarSample.h tml
    Gramps

  • Select List with Submit - Branch Error - form data does not save

    I am a new APEX user so please excuse my ignorance. I have created a simple application in which a primary data entry form branches either to a detail form (one to many on the parent ID) or a master tabular report used for navigation. These branches work fine. Then I tried to get a little fancy with a conditionally displayed element based on the value the user selects in a select list on the main form(P9_REPORT_TYPE). I converted the select list to a select list with submit and created a new branch (on submit - after processing) to the current page (Page 9) to avoid the "no branch found" error. To avoid the branch being unconditional, I tried to use the 'Request = Expression1' condition with the Expression 1 field set to P9_REPORT_TYPE. The behavior I get is that the page seems to submit but the data on the form is not saved -- even the new value selected in P9_REPORT_TYPE reverts to the old value. I simply need the page data to submit so that the conditionally displayed element will take effect (which it does if you use one of the other button-based branches and then return to the form). Do I have the syntax wrong? It seems like this should be straightforward but I've tried a number of options including using a PL/SQL condition V('REQUEST')='P9_REPORT_TYPE' with no success. I'm guessing that the value of Request is getting cleared before it has a chance to trigger the branch? Any help would be greatly appreciated.

    Exactly so! Thanks Scott for setting me straight. For the benefit of other readers, the value in the Source Used column had been set to "Always, replacing any existing value in session state" and should have been set to "Only when current value in session state is null".

  • OS or Windows and scanner forms

    This is a PC vs iMac question.   I am required to submit a “scanner form”.  I do have a Canon copy/scan/fax printer.  I have not ever used a scanner form,  and I am not clear about how this is done.   I am trying to learn if this is something only PC windows can do or if I can fill in scanner forms with my iMac.
    Thank you

    Thank you.   This is going to be a government form.  They will send me the forms.  If it is possible,  can you describe what I will actually be doing, as literally as possible?  
    My Logic:   I get the form, place on the scanner,  scan form to iMac and open on desktop.   Type what is needed onto the form on iMac.  
    Then what happens?   How does the information get back to the physical form?   or do I not have this right either?
    I assume this is all really easy,  if I had a clue what the steps are and how to do it.   My printer does have OCR function in the manual,  but I have never used it.
    Any help at all tells me much more than I know now.  I tried to find info on this subject on line,   and I have not been able to formulate the correct questions to ask.  I get answers to all kinds of questions except what I need to know.
    Thank you again

  • Merging of actions for Submit and action button

    Hello,
    How to merge actions for submit and Commit operations, in a single button?.
    For clarity, I have made a form with ADF table, where user can edit table fields. containing Submit and Commit buttons. Once editing is completed, if submit is pressed, changes will be posted and commit button becomes enabled.
    Now i want to be both actions should happen in one button. How to do this?.
    Thanks in advance
    seshu

    You can drag an operation onto an existing button (bind to existing button).
    The commit operation will automatically submit the form as well.
    To make the commit button enabled clear the "disabled" property of the button.

  • Create Separate Views for New,Edit and Display forms in Infopath

    Hi,
    I need to create a separate views for New, Edit and Display forms in infopath.
    For ex : I need a Submit Button on Display form and not in New/Edit forms.
    I tried, but i amnot able to get the changes.
    Regards, Shreyas R S

    I just validated my approach in a 2013 farm, this is precisely how it's done!
    Step 1) List > Display Form
    Step 2) Change the View within the Web Part Properties. In your screenshot it looks like you simply went to View Item on the single item, which is not the direction I gave =P.
    **Assuming you've already created the multiple views within InfoPath, this allows you to set them up as distinct defaults for New, Edit and Display, let's make that clear. If you are not even to the point of having separate views, that is just in InfoPath,
    Page Design tab, far left, New View button

  • Spry Regions and Selection of First Element

    I've done a little work with spry regions and am currently struggling with how to interact with the generated content via Javascript.
    Specifically (I'm not using a Spry DataGrid BTW) I'm trying to do something like document.getElementById("st").focus(); on the first anchor in the returned dataset. I haven't put the ID in yet because I'm not sure exactly what to use (maybe @id) but how to capture the first one for the reference in the final .focus() call.
    Anybody done this before?
    <!--- list panel --->
    <div spry:region="dsCompanies" style="clear:both;">
    <div spry:repeat="dsCompanies">
    <div class="card" >
    <p><b><a href="#" onclick="loadcompany('{@id}','contacts');searchpanel.displayPopupDialog(false);return false;">{name}</a></b>
    <br>{rectype}
    <br>{name}
    <br>{support}
    <br>{address1}
    <br>{address2}
    <br>{address3}
    <br>{city}, {state} {zip}
    </p>
    </div><!--- end of card --->
    </div> <!--- end of spry region --->
    <p spry:state="loading"> Please Wait...</p>
    </div> <!--- end of panel --->

    You can apply focus to form elements and anchors/links. In this case I am attempting to set the focus to the <a href> tag.. but only the first in the repeating region.
    <HTML>
    <BODY>
    <a id="foo1" href="#"> This</a>
    <a id="foo2" href="#"> That</a>
    <script type="text/javascript">
      // selects 'that'
      document.getElementById("foo2").focus();
    </script>
    </BODY>
    </HTML>

Maybe you are looking for

  • What DVI for refurbished Mac Mini's?

    Hey, I am about to order a refurbished mini (as soon as there are some in the store again), 2.0Ghz 320 gig. It comes with the Mini-DVI to DVI adapter. I have a new LG monitor coming, and it is DVI-D ready. Is the refurbished ones that I see pop up DV

  • Solid State Hard Drive Issues.....

    Hello. I had a Sattelite P-500 built by Toshiba last spring & it's beginning to give me trouble. It is a dual hard drive model, one 60 gig solid state & a 500 gig storage drive. My problem is that all but less than 1 gig is used up on the solid state

  • I keep getting an inappropriate pop-up window...

    ever since I tried to watch a tv show online. the website I was directed to was one of those survey websites. thats where I think they got me. might be something on my computer now and I don't know how to get rid of it. any suggestions? I have even t

  • Maybe making the switch from AVID to FCP, would like some input please.

    Happy T-Day to all. Would really appreciate any thoughts on this. I have many questions and need some answers from folks who are not always pushing AVID ( my vendor) I am a one man shop and use all Apple apps (LiveType, Motion, etc.) but have always

  • SET UPDATE CASE WHEN HAVING GROUP BY all in one

    I'm a little stuck with the code below that doesn't work.  Basically in my table i return 3 rows per Name and they should all have the same location too, e.g. 3 Davids and 3 USA.  But sometimes I might have 3 Davids and 2 USA and 1 EU - so in this ca