Submit ajax form using image

2008-01-10 Thread Richard

Hi,

I need to submit an Ajax form using an image opposed to a submit
button. The roadmap suggests this is now possible: 
https://trac.cakephp.org/ticket/770
 but I cannot find this functionality. I am using 1.2  -- can
anyone help?

Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Submit ajax form using image

2008-01-10 Thread grigri

Hmmm... tough one

echo $ajax-submit('your-image-here.png');

  but I cannot find this functionality

I'd just point out that I never use the Ajax helper [because I prefer
mootools], and this took me all of 10 seconds to find out by browsing
the source, although I'm sure you could find it on google too. Maybe
work on your research skills?

On Jan 10, 2:52 pm, Richard [EMAIL PROTECTED] wrote:
 Hi,

 I need to submit an Ajax form using an image opposed to a submit
 button. The roadmap suggests this is now 
 possible:https://trac.cakephp.org/ticket/770
  but I cannot find this functionality. I am using 1.2  -- can
 anyone help?

 Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Submit ajax form using image

2008-01-10 Thread Richard

echo $ajax-submit('your-image-here.png');
I have already tried this but a standard submit button with the image
path is output.

Hmmm... tough one. Maybe work on your research skills?
I suggest you work on your communication skills.

On Jan 10, 7:38 pm, grigri [EMAIL PROTECTED] wrote:
 Hmmm... tough one

 echo $ajax-submit('your-image-here.png');

   but I cannot find this functionality

 I'd just point out that I never use the Ajax helper [because I prefer
 mootools], and this took me all of 10 seconds to find out by browsing
 the source, although I'm sure you could find it on google too. Maybe
 work on your research skills?

 On Jan 10, 2:52 pm, Richard [EMAIL PROTECTED] wrote:

  Hi,

  I need to submit an Ajax form using an image opposed to a submit
  button. The roadmap suggests this is now 
  possible:https://trac.cakephp.org/ticket/770
   but I cannot find this functionality. I am using 1.2  -- can
  anyone help?

  Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Submit ajax form using image

2008-01-10 Thread grigri

Sorry mate, it really does work. I even backgraded back to the beta
release to test, and it still works there.

You say you're using 1.2, is that the latest branch, the beta, the
pre-beta, or what?

This was added in 6161 : https://trac.cakephp.org/changeset/6161

(AjaxHelper::submit just calls FormHelper::submit so the arguments are
the same)

On Jan 10, 4:57 pm, Richard [EMAIL PROTECTED] wrote:
 echo $ajax-submit('your-image-here.png');

 I have already tried this but a standard submit button with the image
 path is output.

 Hmmm... tough one. Maybe work on your research skills?

 I suggest you work on your communication skills.

 On Jan 10, 7:38 pm, grigri [EMAIL PROTECTED] wrote:

  Hmmm... tough one

  echo $ajax-submit('your-image-here.png');

    but I cannot find this functionality

  I'd just point out that I never use the Ajax helper [because I prefer
  mootools], and this took me all of 10 seconds to find out by browsing
  the source, although I'm sure you could find it on google too. Maybe
  work on your research skills?

  On Jan 10, 2:52 pm, Richard [EMAIL PROTECTED] wrote:

   Hi,

   I need to submit an Ajax form using an image opposed to a submit
   button. The roadmap suggests this is now 
   possible:https://trac.cakephp.org/ticket/770
    but I cannot find this functionality. I am using 1.2  -- can
   anyone help?

   Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---