That alone does not echo a form tag, as you can easily see if you
check the generated source.
You need to create a <form> tag manually, call the form_tag() helper,
or call the renderFormTag() method of an sfForm instance.

On Sun, Apr 25, 2010 at 23:41, Parijat Kalia <kaliapari...@gmail.com> wrote:
> yES, I am doing echo use_helper('Form'), is that wrong?
>
> On Sun, Apr 25, 2010 at 2:04 PM, Gábor Fási <maerl...@gmail.com> wrote:
>>
>> Do you echo a form tag as well?
>>
>> On Sun, Apr 25, 2010 at 22:53, Parijat Kalia <kaliapari...@gmail.com>
>> wrote:
>> > Hey guys,
>> >
>> > Here is a piece of code in my action that I can't seem to understand
>> > what
>> > has gone wrong with
>> >
>> >   if($this->getRequest()->isMethod('post'))
>> >       {
>> >          echo "hello";
>> > .......
>> > .......
>> >     }
>> >
>> > this should print hello in to my page...but that is not happening...I
>> > have
>> > the submit_tag('Next Step'); in my template...and I start with echo
>> > use_helper('Form') and end with </form>
>> >
>> > But I can't understand what's going wrong here.....any leads anyone?
>> >
>> > Thanks and regards,
>> >
>> > parijat Kalia
>> >
>> > --
>> > If you want to report a vulnerability issue on symfony, please send it
>> > to
>> > security at symfony-project.com
>> >
>> > You received this message because you are subscribed to the Google
>> > Groups "symfony users" group.
>> > To post to this group, send email to symfony-users@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > symfony-users+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/symfony-users?hl=en
>> >
>>
>> --
>> If you want to report a vulnerability issue on symfony, please send it to
>> security at symfony-project.com
>>
>> You received this message because you are subscribed to the Google
>> Groups "symfony users" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to