All Browsers hang when submitting web form
Hi All,
This is something that has really started to annoy me now and its effecting me on osx 10.5 - 10.7. On different machines and most strangly on different web brosers (safari, firefox etc)... However I do not have these problems if i load up windows and use safari or firefox on windows... So it must be a mac issue.
Effectivily what will happen is I will submit a web form and occasionally it will hang for about 5 minutes.
Now these are web forms on multiple servers that i run (php) and connecting/sending info to a MySQL database.
Is there something that could be in the code causing this?
This only happens on MACs. Not on Windows.
Also sometimes it will submit the data fine... but then randomily hang.
Any ideas?
Kind Regards,
Hi All,
This is something that has really started to annoy me now and its effecting me on osx 10.5 - 10.7. On different machines and most strangly on different web brosers (safari, firefox etc)... However I do not have these problems if i load up windows and use safari or firefox on windows... So it must be a mac issue.
Effectivily what will happen is I will submit a web form and occasionally it will hang for about 5 minutes.
Now these are web forms on multiple servers that i run (php) and connecting/sending info to a MySQL database.
Is there something that could be in the code causing this?
This only happens on MACs. Not on Windows.
Also sometimes it will submit the data fine... but then randomily hang.
Any ideas?
Kind Regards,
Similar Messages
-
State service error when submitting InfoPath form to Library
I have a problem and looks like Google couldn't help me.. I really hope someone here will be able to.
I have a Form Library using a custom form. When submitting the form to the library, users are getting this error. I don't get the error with my own user, only difference is I have full access to the farm and content using web app policy.
ULS logs give me few informations
SharePoint Server
State Service
bm1k
Medium
StateSqlSession.GetItemBytesInternal() Locked row in database for key ba18f90ee2e844468b08e90ad96dff2c_05967b71a21948d39b7d4d3ada9b27c9 for 4 seconds
SharePoint Server
State Service
bm0t
Unexpected
StateManager.GetState() Locked data (05967b71-a219-48d3-9b7d-4d3ada9b27c9)
InfoPath Forms Services
Runtime - State Service
b5st
Medium
MOSS StateService threw an exception: A Microsoft SharePoint Server State Service error occurred while processing your request. For more information, contact your server farm administrator.
I deleted the State Service and recreated it twice, once with PowerShell and then with the Farm Configuration wizard. Restarted the server. Problem might come from InfoPath Forms Services tho but I don't what else I can do.
Does anyone have any clue??
JP Berube | MCTS SharePoint 2010 Configuration and Application DevelopmentHi,
We had the same problem with InfoPath.
After analysis of servers,it turns out that
the anonymous user authentication has been enabled on
the web application server
via IIS and not via SharePoint
(unsupported configuration), causing
side-effects on some queries which
calls to forms.
We disabled anonymous access.This desactivation
causes the functioning of forms again.
Rachid. -
Error"There was an internal error when submitting the form" URM Disposition
Hello
I get the following error - "*There was an internal error when submitting the form*" - when i allocate a Retention Disposition to a Retention Category.
Any Ideas how this can be solved?
Thank youNot based on the minimal information provided.
Error messages in 11g, from a UI standpoint, are severely deficient. How about looking in the content server logs and posting some more information? -
How to allow users to include a photo when submitting a form
Using Adobe Livecycle Designer ES Version 8.2.1.3144.1.471865
Would anyone out there know how to add the functionality of allowing users who are filling out a form to include a photo when submitting the form?
Thanks in advance for any help.
Regards,
LolaHi,
If you drag an imageField onto the page, when the user clicks on this at runtime, they will be prompted to select an image file.
There is an example of that in this form: http://assure.ly/j1KdNq.
There are more image field examples on our site, but I don't think any of them are set up for the user to select an image. http://assure.ly/ozrNSO.
Hope that helps,
Niall -
Java.lang.IllegalStateException when submitting a form.
Hi there,
I'm pretty new with jsp pages & tomcat, please check the following code :
<form action="validInput" method="POST">
<input name="cpyName" />
<input type="submit" value="submit" />
</form>when submitting the form I get the following error :
method HTTP POST is not supported by this URL
If I switch the form method to GET, I get the following error :
java.lang.IllegalStateException
org.apache.coyote.tomcat5.CoyoteResponseFacade.sendError(CoyoteResponseFacade.java:325)
javax.servlet.http.HttpServlet.doPost(HttpServlet.java:346)
vra.Servlet2.doPost(Servlet2.java:24)
vra.Servlet2.doGet(Servlet2.java:17)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Thanks to help.Please go through this resolved post:
[http://forums.sun.com/thread.jspa?forumID=45&threadID=506192|http://forums.sun.com/thread.jspa?forumID=45&threadID=506192]
Edited by: J4Java on Apr 29, 2009 2:54 AM -
Change enctype when submitting a form
Hi,
Can anyone please let me know if its possible to change the enctype when submitting a form. I am trying to change the enctype to "multipart/form-data" when upload is clicked, else i want it to be the default.....
function OnSubmitForm(myform)
alert('document.pressed : ' + document.pressed );
if(document.pressed == 'Upload')
myform.enctype="multipart/form-data";
alert('enctype: ' + myform.enctype);
else
alert('enctype: ' + myform.enctype);
return true;
}The JavaScript property is encoding (not enctype). The JavaScript encoding form property corresponds to the html enctype form attribute. So the code should be:
function OnSubmitForm(myform)
alert('document.pressed : ' + document.pressed );
if(document.pressed == 'Upload')
myform.encoding="multipart/form-data";
alert('enctype: ' + myform.encoding);
else
alert('enctype: ' + myform.encoding);
return true;
} -
Unkown failure when submitting a form to PHP web page
Hello.
I've been having a following issue when using Adobe Reader X version 10.1.3.23 and the newest version.
An error occurred during submit process. Unkown failure.
This happens when the document is receiving data from web page.
Following javascript is behind the submit button:
this.submitForm({
cURL: "http://path.to.url/index.php",
cSubmitAs: "XFDF" // the default, not needed here
In the web page there is a script that processes the data and after that it sends pdf document to the user that has submitted the form:
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="confirmation.pdf"');
readfile('confirmation.pdf');
The problem only occurs on some computers i've tried this form. I have no idea why this is happening. Any ideas?The submit button is in the PDF file.
http://s29.postimg.org/v5y4hmyg7/error.png -
Flash problems with Mountain Lion - web browsers hang when trying to render flash content
Hi Everyone,
After installing Mountain Lion all my web browsers - including the new Safari - seem to not be able to retrieve web content properly.
For example:
1. Youtube video will not play, hang for a while, then error out
2. Facebook will hang then error out (Safari cannot even get to the Facebook page for some reason)
3. IMDB.com cannot render the page, then errors out.
I've tried uninstalling all browsers, flash players, Java and reinstalling again, yet the same thing keeps happening.
Anyone have any ideas for a solution?
Thanks.Same problem. Done every thin to fix it . I noticed today that if i login to Youtube y can´t watch videos (some times only once), but if i logout i can watch every video. Can you check on that???
I have reinstalled Flash, delete cokies, cache files, fixed rights, and the same. The problem is the same in Chrome, Safari and Firefox and started just after i upgraded to Mountain Lion. -
Web Browsers hang when loading pages
Hi!
On my early 2011 Macbook Pro webpages take forever to load, and somthimes dont load at all. This happens with all browsers, in safari the blue progress bar stops at the first interval and sits there for a LONG time until it goes on, in Chrome it is hung on " Sending Request " . This does not happen on all webpages, it is random.
If anyone could help that would be great!Ive fixed the problem. Just go into Chrome preferences > Under the hood and uncheck " Predict network actions to improve page load performance" this fixes the problem. Thanks for your help and I hope that this can help other people with this problem.
-
I'm trying to launch forms on the web using Dev Rel 6. When I
start the
browser and point to my html file, I get the standard "Starting
Java..."
message and then the error :
Applet exception: class oracle.forms.engine.Main could not be
loaded
I have setup my machine just as the manual suggests. Any ideas
on what the
problem could be.
My current configuration is:
Windows NT 4.0 (sp5)
OAS 4.0.7
Dev Rel 6
Netscape 4.5
Jinit 1.1.7.11
Thanks in advance for any help,
Alan
nullHiya,
I'm working on deploying DEV2K forms/reports over the
web...starting with the Forms first...but haven't been able to do
that....scenario is that these forms are built in 4.5, OAS 3.0.1,
NT 4 (sp 3) & Oracle 8.0.4 (8.4)....I've done everything by the
book i.e; the Dev2K Online Manuals (Deploying Applications on the
Web)...but even after giving the full path of the intended
form/module it wont launch.....only gives Internel Error in the
browser....
In the manual Oracle recommends to use WWWSVR as the OAS default
listener but when you isntall the OAS (3.0.1) it recommended
using www as the default.....so I tried to change the
configuration of the def. list. & it got corrupted....so I
deinstalled the whole OAS but after that I haven't been able to
resinstall it again because it aborts right after
analyzing dependencies step....but I have another instance of the
OAS 3.0.1 running on a different machine on which our groups site
is running the database version 8.0.5 (haven't been able to
install the DAD for this one...because of database version or
some other unknown reason...)
Bottom line if you could please tell me step by step how to
deploy my current apps over the web I'ld really appreciate that..
Current env. NT 4 (sp3)
Oracle 8.0.5
Dev/2000 Forms4.5/Reports3.0
OAS 3.0.1 (trying to download OAS 4 but it after
the download wont open)
Thanks.
Dessislava Gantcheva (guest) wrote:
: Toby Richmond (guest) wrote:
: : D_niel Dobr_nszky (guest) wrote:
: : : Hi!
: : : Yes, JInitator can be a good idea. Doeas anybody heard
: : anything
: : : from JInitator for unix/mac/linux/etc?
: : : D_niel
: : Hiya
: : No I haven't, but I am yet another one of these people who
are
: : having major headaches getting Developer Server 6 working on
: : NT 4, with both applet viewer and jinitiator ...
: : jinitiator hangs when getting "default.dat" in registry
: : directory (this file does not exist)...eventually I get an
: : generic oracle error message saying cannot connect to server.
: : Any ideas???
: : Toby
: I had the same situation, Toby, but infortunately I don't
: remember how exactely I solved it (because of the many other
: problems I had :) I just can tell you that after patching
: everything possible it wrks now :) That's the sequence of the
: patches I applied:
: Initial configuration:
: NT4.0 Server, SP3
: OAS 4.0.7
: Developer/Developer Server 6.0
: Applied patches:
: 1. Patch 1 for OAS4.0.7
: After it forms on the web(Jinitiator 1.1.7.11) stoped working.
: 2. Patch 1 for Developer 6.0
: After it forms on the web started to work again.
: 3. SP5 for NT.
: 4. Jinitiator 1.1.7.15 ( I didn't observe any obvious
difference
: in its behaviour)
: And it works good now.
: If you try to patch the NT first, the forms don't work on the
: web again.
: that's my experience.
: Hope it helps
: My problem now i how to run a report within a form on the web.
: Separately forms and reports work fine.
: Regards
: Dess
: after it OAS starts
null -
WL 8.1 BEA-101083 error when submitting a form using javascript (IE only)
Hello,
I have a JSP page that is submitting a form with javascript document.form.submit()
after checking the validity of form element values, but I randomly get a BEA-101083
error. The jsp page has worked fine for several year in IPlanet, and Sun One
7 application server, but when ported over to WebLogic 8.1 SP2 the error manifests
itself. Basically, when user submits the form, the next page is displayed with
null values, and soon after the following stack trace appears in the server log.
This error only occurs when the client browser is IE, Netscape works fine.
Thanks,
-Colin
<WLS Kernel>> <> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@9bb9300
- idle tim
eout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period
of '60' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(Lweblogic.time.common.Schedulable;)V(SocketMuxer.java:775)
at weblogic.time.common.internal.ScheduledTrigger.run()Ljava.lang.Object;(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.Privil
egedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.a
cl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally()V(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(Lweblogic.kernel.ExecuteThread;)V(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(Lweblogic.kernel.ExecuteThread;)V(ScheduledTrigger.java:50)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)Checkboxes only submit a value when they are "on"
They submit nothing if they are not selected.
The problem comes - do you interpret no checkbox values as "clear all values" or "leave the values alone"? Struts assumes the latter.
Your form is probably being kept in session?
Try implementing the reset() method of your action form and set its property to be equivalent to no checkboxes selected. -
Change subject line of email when submitting a form using Acrobat X Pro
I have created an interactive PDF in Acrobat X PRO with a submit a form button. Everything works fine all the way through distribution except that I need the Subject Line of the submitted form when attached to an email to read "Form Returned: File Name" rather than "Submitting Completed Form". All of my past forms had the "Form Returned: File Name" subject line automatically...did something change and is it possible to change the subject line? Any help would be much appreciated.
Thank you for your reply. I had actually come across that form on multiple occasions during my research. Looks like I need the doc.mailDoc() function, but there isn't an example of the code. Looking in other places I have tried a few things unsuccessfully. I did find this, which I thought would be even better than Form Returned: File Name in the subject line...actually taking information from fields in the form:
// Build the subject line text from several fields form fields
var subj_text = getField("text1").valueAsString;
subj_text += getField("text2").valueAsString;
subj_text += getField("text3").valueAsString;
// Send the email
mailDoc({
cTo: "[email protected]",
cSubject: subj_text,
cMsg: "Body of email message goes here."
I entered the script(adding in my own information for the email, body and subject line) by adding an action to the button to run the java script but it did not work. Any ideas?? -
Create a confirmation popup dialog when submitting a form
Hi all,
I have a simple business : ask a question (yes/no) to a user when he is submitting a form.
This form is an "ADF Form (11g)" and is displayed in a inline dialog. It is triggered for an EntityView when user clicks on an edit button of a table row.
I've tried lot of different solutions but it never works.
Let me tell you about these:
Solution 1: Adding a showPopupBehavior
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelFormLayout id="pfl1">
<af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
<f:validator binding="#{bindings.Datedeb.validator}"/>
<af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
</af:inputDate>
<!-- ... -->
<f:facet name="footer">
<af:group id="g1">
<af:commandButton text="Submit" id="cb1">
<af:showPopupBehavior popupId="p1" />
<af:returnActionListener/>
</af:commandButton>
<af:popup id="p1">
<af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
<af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
</af:dialog>
</af:popup>
</af:group>
</f:facet>
</af:panelFormLayout>
</af:form>
</af:document>The issue is that the +<af:returnActionListener/>+ is never triggered and the form do not close.
Solution 2: Adding a showPopupBehavior and change the triggerType
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelFormLayout id="pfl1">
<af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
<f:validator binding="#{bindings.Datedeb.validator}"/>
<af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
</af:inputDate>
<!-- ... -->
<f:facet name="footer">
<af:group id="g1">
<af:commandButton text="Submit" id="cb1">
<af:showPopupBehavior popupId="p1" triggerType="click" />
<af:returnActionListener/>
</af:commandButton>
<af:popup id="p1">
<af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
<af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
</af:dialog>
</af:popup>
</af:group>
</f:facet>
</af:panelFormLayout>
</af:form>
</af:document>By reading in your forum I find this solution to be able to initiate a popup and execute the commandButton action by adding the triggerType="click" on the showPopupBehavior.
The issue then is that the dialog get closed without waiting for a user response on the popup dialog (yes/no)
Solution 3: Adding aAdfFacesContext.getCurrentInstance().returnFromDialog(null, null); in my dialog listener
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelFormLayout id="pfl1">
<af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
<f:validator binding="#{bindings.Datedeb.validator}"/>
<af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
</af:inputDate>
<!-- ... -->
<f:facet name="footer">
<af:group id="g1">
<af:commandButton text="Submit" id="cb1">
<af:showPopupBehavior popupId="p1" triggerType="click" />
</af:commandButton>
<af:popup id="p1">
<af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
<af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
</af:dialog>
</af:popup>
</af:group>
</f:facet>
</af:panelFormLayout>
</af:form>
</af:document>
public void mustClosePreviousAddress(DialogEvent dialogEvent)
//Business logic
AdfFacesContext.getCurrentInstance().returnFromDialog(null, null);
}It looks like it work and close the dialog when click on yes/no on the popup dialog but the value are not submitted and the data model do not change.
Solution 4: Sendind an ActionEvent on the button when user has made his selection
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelFormLayout id="pfl1">
<af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
<f:validator binding="#{bindings.Datedeb.validator}"/>
<af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
</af:inputDate>
<!-- ... -->
<f:facet name="footer">
<af:group id="g1">
<af:commandButton text="Submit" id="cb1" binding="#{backingBeanScope.dialogBackingBean.cb1}">
<af:showPopupBehavior popupId="p1" />
<af:returnActionListener/>
</af:commandButton>
<af:popup id="p1">
<af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
<af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
</af:dialog>
</af:popup>
</af:group>
</f:facet>
</af:panelFormLayout>
</af:form>
</af:document>
public void mustClosePreviousAddress(DialogEvent dialogEvent)
//Business logic
cb1.queueEvent(new ActionEvent(cb1));
}The same as foor the third solution, it looks like it work and close the dialog when click on yes/no on the popup dialog but the value are not submitted and the data model do not change.
I've verified with an actionListener, the actionEvent received when the user click on the button is exactly the same as the one i've dispatched manually.
Can you help me with a solution adressing this issue?
Best regards,
AlexMmm something like this ?
public void newDialogListener(DialogEvent dialogEvent) {
if (dialogEvent.getOutcome().name().equals("ok")) {
this.getBindings().getOperationBinding("Commit").execute();
// Do something
} -
Wrong values submitted when submitting a form with javascript
Hi guys, I know this aint a struts forum, but I did not know where else to go. So here goes..
I have the following code in my jsp
<logic:iterate id="ex" name="myForm" property="users">
<html:multibox property="deleteUsers">
<bean:write name="ex" property="userId"/>
</html:multibox>
</logic:iterate>
I have about 10 users of which 5 have already been marked for deletion from another action. So basically, the above tag renders 10 rows with a checkbox in the beginning to select users to delete. Also 5 of them have been checked already, I mean when the form is loaded. So checkboxes 1, 4, 5, 8, 10 have already been checked. Now I have a link on which goes like this
Select None. On this I call a javascript which does the following
function uncheckAll() {
for (i = 0; i < 10; i++) {
document.myForm.deleteUsers.checked = false;
This unchecks all my checkboxes.
Now comes the problem. I am submitting the form using a javascript which is invoked on clicking on the submit link using document.myForm.submit(); The problem is the deleteUsers property in myForm still retains the old values. If the checkboxes are unchecked no values should be submitted for this and the deleteUsers array should be empty. Can anyone help me out on this.
Thanks.Checkboxes only submit a value when they are "on"
They submit nothing if they are not selected.
The problem comes - do you interpret no checkbox values as "clear all values" or "leave the values alone"? Struts assumes the latter.
Your form is probably being kept in session?
Try implementing the reset() method of your action form and set its property to be equivalent to no checkboxes selected. -
Submitting Web Form via Ajax Tutorial
Any suggestions why following this tutorial: http://kb.worldsecuresystems.com/851/cpsid_85119.html?bc-partner results in the form submitting, but then loading up a white page with the following text?
{"FormProcessV2Response": { "success": true, "entityId": "51918536", "objectTypeId": "Cases", "objectId": "7634958", "message": "<table class=\"tabledefault\"><tr><td id=\"title\"><strong>Summary of web form submission:<\/strong><br\/><!-- IP Address: 24.8.110.183 --><\/td><\/tr><tr><td id=\"name\"><strong>Your Name<\/strong><br\/>Brian <\/td><\/tr><tr><td id=\"email\"><strong>Email Address<\/strong><br\/><a href=\"mailto:[email protected]\">[email protected]<\/a><\/td><\/tr><tr><td id=\"casenumber\"><strong>Case Number<\/strong><br\/>7634958<\/td><\/tr><tr><td id=\"customfields\"><table class=\"tabledefault\"><tr><td id=\"CAT_Custom_409420\"><strong>Lesson<\/strong><br \/>Model Lesson<\/td><\/tr><tr><td id=\"CAT_Custom_409419\"><strong>Quiz Score Field<\/strong><br \/>90<\/td><\/tr><\/table><\/td><\/tr><\/table>" }}
Success message is supposed to show on same page as form.
Thx,
BrianHi,
I managed to get this to work.....by modifying the code I found herr: User manual
Below is my entire code....hope this helps!
Kane
<div id="message"></div>
<form name="catwebformform57649" method="post" onsubmit="return checkWholeForm57649(this)" enctype="multipart/form-data" action="/FormProcessv2.aspx?WebFormID=10090&OID={module_oid}&OTYPE={module_otype}&EID={mo dule_eid}&CID={module_cid}&JSON=1" role="form" id="contact_form">
<div class="col-sm-4">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" name="FullName" id="FullName" placeholder="Enter name" title="Please enter your name (at least 2 characters)"/>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" name="EmailAddress" id="EmailAddress" placeholder="Enter email" title="Please enter a valid email address"/>
</div>
<div class="form-group">
<label for="phone">Phone</label>
<input class="form-control required digits" type="tel" name="CellPhone" id="CellPhone" size="30" value="" placeholder="Enter contact number" title="Please enter a valid phone number (at least 10 characters)">
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<label for="comments">Comments</label>
<textarea name="CAT_Custom_869" id="CAT_Custom_869" class="form-control" cols="3" rows="5" placeholder="Enter your message…" title="Please enter your message (at least 10 characters)"></textarea>
<br>
<br>
<button name="submit" type="submit" class="btn btn-lg" id="submit"> Submit</button>
</div>
</div>
<script type="text/javascript">
function jqsub() {
var $f = $('#contact_form');
var $m = $('#message');
$.ajax({
type: 'POST',
url: $f.attr('action') + '&JSON=1',
data: $f.serialize(),
success: function(msg) {
var formResponse = eval(msg); // This line evaluates the JSON data and converts it to JSON object. In older version of jQuery you will have to evaluate JSON object as a string.
if (formResponse.FormProcessV2Response.success) {
$m.addClass('success').fadeIn().html('<h3>Thanks for getting in touch. We will get back to you as soon as we can.</h3>');
$f.fadeOut(); //Hide the form
error: function(msg) {
alert('error'+msg);
return false;
</script>
<script type="text/javascript" src="http://dla.com.sg/CatalystScripts/ValidationFunctions.js"></script><script type="text/javascript">
//<![CDATA[
var submitcount57649 = 0;function checkWholeForm57649(theForm){var why = "";if (theForm.FirstName) why += isEmpty(theForm.FullName.value, "Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if (theForm.CellPhone) why += isEmpty(theForm.CellPhone.value, "Phone Number"); if(why != ""){alert(why);return false;}if(submitcount57649 == 0){submitcount57649++;jqsub();return false;}else{alert("Form submission is in progress.");return false;}}
//]]>
</script>
</form>
Maybe you are looking for
-
Why can't I find certain Pantone plus colors in Illustrator CS6 color books?
Why can't I find certain Pantone plus colors in Illustrator CS6 color books? For example I want to use PMS 2296C, but it is not coming up in the color swatch book in Illustrator.
-
Unable to create entity object in JDev 10.1.3(R12)
Hi, I am Unable to create entity object in JDev 10.1.3(R12).Everything else works fine but not the EO creation.THe option for selecting table,synonym are disabled when I try to create new entity object. Please let me know if you any of you had the sa
-
Duplicating Effort in SQL functions
Hi, If I have a piece of SQL such: SELECT SUBSTR(really complex nested functions [no PLSQL function / context switching however]) AS COL1, LENGTH(SUBSTR(really complex functions [no PLSQL function / context switching however]) AS COL2 FRO
-
Mapping unique elements to a Key Value Pair using XSLT in ESB
Hi Guys, I am in need of a solution for mapping some of the response elements to a a key value pair in my target schema. How could I achieve this. It is very very urgent. How will the XSL look like Source <Source> *<Element1>One</Element1>* *<Element
-
How do I turn off color management in Photoshop 5?
There are three selections, only the first two clickable, in PS5 under Color Management in the Print dialouge: Printer Manages Colors Photoshop Manages Color Separations (grayed out/unclickable) Under Printer Manages Colors - there is no option to tu