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

  • Home
  • SEARCH
  • 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 6006841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:35:51+00:00 2026-05-23T01:35:51+00:00

Server side extjs form validation using zend framework I have extended Zend_Form class to

  • 0

Server side extjs form validation using zend framework

I have extended Zend_Form class to validate my client side extjs form:

  class Application_Form_NewBugReport extends Zend_Form {

public function init() {
    // Set the method for the display form to POST
    //here we go with different elements
    }}

Then added this code to my controller:

public function submitformAction() {

    // Instantiate the registration form model
    $form = new Application_Form_NewBugReport ();
    $form->setAction('/newbugreport/submitform');
    fb ( $form->getValues() );
    }

But values are empty and I can`t get form values because zend says form values are empty while they are not and I can get them using $this->_request->getPost () (and of course without any validations)
What is the proper solution for validating forms when you don’t actually use ZF forms and use client side javascript to create forms?

  • 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-23T01:35:51+00:00Added an answer on May 23, 2026 at 1:35 am

    You’ll need to validate the form against some input, in this case the POST data:

    $form->setAction('/url');
    if ($form->isValid($this->getRequest()->getPost())) {
        fb($form->getValues());
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a fairly robust server-side validation system in place, but I'm looking
I have a server-side script (PHP) returning JSON data to populate an ExtJS Grid.
Actually i am using server side validation and saw article that only adding link
I'm writing server-side programs in PHP for an iPhone app. And I have no
I understand that server-side validation is an absolute must to prevent malicious users (or
I have a server side ImageButton, and a server side Button, and then a
I'm aware of server-side javascript for a long time now, but I don't have
Problem: jQuery DataTables server-side processing using ASP.NET WebForms. Solution: Darin Dimitrov answered the question
I have 4 server side ListBox controls. All of them have their Enabled property
I wonder what server side solution Google used for Google Wave. I have heard

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.