RE: [cfaussie] Submitting a form
Just another issue that should be straight forward. I'm submitting a for via an image and using the onsubmit fuinction. I do some checks in javascript and if it fails I want to stop the form submit. I returning with a 'return false' but the for still submits. Any ideas. Brian Knott Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Steve Onnis Sent: Wednesday, 13 October 2010 2:32 PM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Submitting a form Yeah i would use classes also...just used inline to demonstrate what i meant. It is also better that way as you can just have a background for the button and use the value to change the label instead of creating a different button for every label From: KNOTT, Brian [mailto:brian.kn...@suncorp.com.au] Sent: Wednesday, 13 October 2010 3:26 PM To: 'cfaussie@googlegroups.com' Subject: RE: [cfaussie] Submitting a form Thanks. I've set up classes and I'm doing it that way. Brian Knott Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Steve Onnis Sent: Wednesday, 13 October 2010 1:47 PM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Submitting a form Why don't you just do it with a normal submit button and style it to use the image? input type=submit name=step3submit value=continue style=border:none; background:url(image.gif) / That way you can still use the image but submit it properly From: KNOTT, Brian [mailto:brian.kn...@suncorp.com.au] Sent: Wednesday, 13 October 2010 2:38 PM To: 'cfaussie@googlegroups.com' Subject: [cfaussie] Submitting a form Guys I using images as buttons to submit form. Bit like the code below input type=image src=image.gif name=step3Submit value=continue I would normally then refer to the form field in the next page i.e. cfset variables.function = form.step3Submit This works fine in firefox but in IE it send through the x and y co-ords of the image, i.e form.step3Submitx = 56. Is there a way to get IE to pass the form value i.e. form.step3submit should have a value of continue. I need to keep the images. Brian Knott | Budget and Forecast Specialisthttp://search.ourspace.int.corp.sun/PeopleResults.aspx?k=JobTitle:%22Budgets%20and%20Forecasts%20Specialist%20EP%22 | Group Budget, Planning Forecasting | Group Finance | Suncorp Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 GPO Box 1453 Brisbane QLD 4001 | Level 29, Brisbane Square, 266 George St brian.kn...@suncorp.com.aumailto:brian.kn...@suncorp.com.au This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www...pctools.comhttp://www.pctools.com/?cclick=EmailFooterClean_51 === === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www...pctools.comhttp://www.pctools.com/?cclick=EmailFooterClean_51 === -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en
RE: [cfaussie] Submitting a form
You can always do it with any element by button onClick=submit()Press Me/button Regards, Andrew Scott http://www.andyscott.id.au/ From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of KNOTT, Brian Sent: Wednesday, 13 October 2010 3:26 PM To: 'cfaussie@googlegroups.com' Subject: RE: [cfaussie] Submitting a form Thanks. I've set up classes and I'm doing it that way. Brian Knott Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Submitting a form
Each to their own Steve, but yeah you are right with the onClick being onclick. Regards, Andrew Scott http://www.andyscott.id.au/ From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Steve Onnis Sent: Wednesday, 13 October 2010 5:19 PM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Submitting a form Umew Oh and XHTML standards state that all html tag and tag attributes must be in lowercase so onClick is invalid and should be onlick :) -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Submitting a form
Guys I using images as buttons to submit form. Bit like the code below input type=image src=image.gif name=step3Submit value=continue I would normally then refer to the form field in the next page i.e. cfset variables.function = form.step3Submit This works fine in firefox but in IE it send through the x and y co-ords of the image, i.e form.step3Submitx = 56. Is there a way to get IE to pass the form value i.e. form.step3submit should have a value of continue. I need to keep the images. Brian Knott | Budget and Forecast Specialisthttp://search.ourspace.int.corp.sun/PeopleResults.aspx?k=JobTitle:%22Budgets%20and%20Forecasts%20Specialist%20EP%22 | Group Budget, Planning Forecasting | Group Finance | Suncorp Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 GPO Box 1453 Brisbane QLD 4001 | Level 29, Brisbane Square, 266 George St brian.kn...@suncorp.com.aumailto:brian.kn...@suncorp.com.au This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Submitting a form
Why don't you just do it with a normal submit button and style it to use the image? input type=submit name=step3submit value=continue style=border:none; background:url(image.gif) / That way you can still use the image but submit it properly From: KNOTT, Brian [mailto:brian.kn...@suncorp.com.au] Sent: Wednesday, 13 October 2010 2:38 PM To: 'cfaussie@googlegroups.com' Subject: [cfaussie] Submitting a form Guys I using images as buttons to submit form. Bit like the code below input type=image src=image.gif name=step3Submit value=continue I would normally then refer to the form field in the next page i.e. cfset variables.function = form.step3Submit This works fine in firefox but in IE it send through the x and y co-ords of the image, i.e form.step3Submitx = 56. Is there a way to get IE to pass the form value i.e. form.step3submit should have a value of continue. I need to keep the images. Brian Knott | http://search.ourspace.int.corp.sun/PeopleResults.aspx?k=JobTitle:%22Budget s%20and%20Forecasts%20Specialist%20EP%22 Budget and Forecast Specialist | Group Budget, Planning Forecasting | Group Finance | Suncorp Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 GPO Box 1453 Brisbane QLD 4001 | Level 29, Brisbane Square, 266 George St mailto:brian.kn...@suncorp.com.au brian.kn...@suncorp.com.au _ This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www.pctools.com http://www.pctools.com/?cclick=EmailFooterClean_51 === === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www.pctools.com/ === -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Submitting a form
Thanks. I've set up classes and I'm doing it that way. Brian Knott Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Steve Onnis Sent: Wednesday, 13 October 2010 1:47 PM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Submitting a form Why don't you just do it with a normal submit button and style it to use the image? input type=submit name=step3submit value=continue style=border:none; background:url(image.gif) / That way you can still use the image but submit it properly From: KNOTT, Brian [mailto:brian.kn...@suncorp.com.au] Sent: Wednesday, 13 October 2010 2:38 PM To: 'cfaussie@googlegroups.com' Subject: [cfaussie] Submitting a form Guys I using images as buttons to submit form. Bit like the code below input type=image src=image.gif name=step3Submit value=continue I would normally then refer to the form field in the next page i.e. cfset variables.function = form.step3Submit This works fine in firefox but in IE it send through the x and y co-ords of the image, i.e form.step3Submitx = 56. Is there a way to get IE to pass the form value i.e. form.step3submit should have a value of continue. I need to keep the images. Brian Knott | Budget and Forecast Specialisthttp://search.ourspace.int.corp.sun/PeopleResults.aspx?k=JobTitle:%22Budgets%20and%20Forecasts%20Specialist%20EP%22 | Group Budget, Planning Forecasting | Group Finance | Suncorp Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 GPO Box 1453 Brisbane QLD 4001 | Level 29, Brisbane Square, 266 George St brian.kn...@suncorp.com.aumailto:brian.kn...@suncorp.com.au This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www.pctools.comhttp://www.pctools.com/?cclick=EmailFooterClean_51 === === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www.pctools.comhttp://www.pctools.com/?cclick=EmailFooterClean_51 === -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Submitting a form
Yeah i would use classes also...just used inline to demonstrate what i meant. It is also better that way as you can just have a background for the button and use the value to change the label instead of creating a different button for every label From: KNOTT, Brian [mailto:brian.kn...@suncorp.com.au] Sent: Wednesday, 13 October 2010 3:26 PM To: 'cfaussie@googlegroups.com' Subject: RE: [cfaussie] Submitting a form Thanks. I've set up classes and I'm doing it that way. Brian Knott Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Steve Onnis Sent: Wednesday, 13 October 2010 1:47 PM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Submitting a form Why don't you just do it with a normal submit button and style it to use the image? input type=submit name=step3submit value=continue style=border:none; background:url(image.gif) / That way you can still use the image but submit it properly From: KNOTT, Brian [mailto:brian.kn...@suncorp.com.au] Sent: Wednesday, 13 October 2010 2:38 PM To: 'cfaussie@googlegroups.com' Subject: [cfaussie] Submitting a form Guys I using images as buttons to submit form. Bit like the code below input type=image src=image.gif name=step3Submit value=continue I would normally then refer to the form field in the next page i.e. cfset variables.function = form.step3Submit This works fine in firefox but in IE it send through the x and y co-ords of the image, i.e form.step3Submitx = 56. Is there a way to get IE to pass the form value i.e. form.step3submit should have a value of continue. I need to keep the images. Brian Knott | http://search.ourspace.int.corp.sun/PeopleResults.aspx?k=JobTitle:%22Budget s%20and%20Forecasts%20Specialist%20EP%22 Budget and Forecast Specialist | Group Budget, Planning Forecasting | Group Finance | Suncorp Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 GPO Box 1453 Brisbane QLD 4001 | Level 29, Brisbane Square, 266 George St mailto:brian.kn...@suncorp.com.au brian.kn...@suncorp.com.au _ This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www..pctools.com http://www.pctools.com/?cclick=EmailFooterClean_51 === === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www..pctools.com http://www.pctools.com/?cclick=EmailFooterClean_51 === -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www.pctools.com http://www.pctools.com/?cclick=EmailFooterClean_51 === === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060) http://www.pctools.com/ === -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com