Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6871645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:49:53+00:00 2026-05-27T03:49:53+00:00

Form tag is stripped off in Cake Php view file. In ‘login.ctp’ (Layout view)

  • 0

Form tag is stripped off in Cake Php view file.

In ‘login.ctp’ (Layout view)

    <div id="test">

        <?php echo $this->Form->create(); ?>
             Test form Elements
        <?php echo $this->Form->end(); ?>

    </div>

When checked in firebug console only creating below tags

    <div id="test">

        <div style="display:none;"><input type="hidden" value="POST" name="_method"></div>

        Test form Elements
    </div>



// "<div style="display:none;"><input type="hidden" value="POST" name="_method"></div>". This div tag is  automatically created.

I also created a ‘inner.ctp’ on elements in views and tried to call from layout view(login.ctp) as echo $this->element(‘inner’) , but results in same problem

Can any one help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:49:53+00:00Added an answer on May 27, 2026 at 3:49 am

    I’m almost certain that you have another form on your page, probably in your layout, that you’re not closing with…

    echo $this->Form->end();
    

    If this is not the case, I suggest getting the latest stable version of Cake 1.3 and overwriting your current one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an HTML form that uses a PHP file in the form tag
I've attached onsubmit handler in a form tag like this: <form action=file.php method=post onsubmit=
How should I initiate a delete action from my view? Creating a new form-tag
I have a one form tag inside my Index.aspx view. Index.aspx contains several partial
I have a button in a form tag that generates a CSV file and
I'm using Spring's form tag library in a Spring MVC application that I am
I found that SO put the search input inside a form tag, and i
I need to submit a hash of attributes directly from the form tag. Is
In my HTML code, I have a form tag that contains two input boxes,
If a form has same tag repeatedly, how to get its value in JavaScript?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.