Results 1 to 2 of 2

Thread: why validate[formname] is undefined?

  1. #1
    Seema is offline Junior Member
    Join Date
    May 2007
    Posts
    2

    Default why validate[formname] is undefined?

    Hello,
    I have added new module in SugarCRM openSource module. I want to validate required field.
    On submit button i have called check_form.In check_form when it calls validate_form this function in that
    validate[formname] is undefined. I have set required field. Is anything new i have to set for new module?
    Best Regards

  2. #2
    Seema is offline Junior Member
    Join Date
    May 2007
    Posts
    2

    Smile Re: why validate[formname] is undefined?

    Hello,
    After writing following lines in EditView -it is working.
    require_once('include/javascript/javascript.php');
    $javascript = new javascript();
    $javascript->setFormName('EditView');
    $javascript->setSugarBean($focus);
    $javascript->addAllFields('');
    echo $javascript->getScript();

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Admin Tools for SugarCRM 4.2
    By kbrill in forum Downloads
    Replies: 80
    Last Post: 2006-09-22, 10:31 PM
  2. PHP Warnings after install add-in Module
    By kgeving in forum Help
    Replies: 1
    Last Post: 2006-08-08, 05:54 PM
  3. Errors after upgrade
    By mturany in forum Help
    Replies: 0
    Last Post: 2006-04-24, 04:40 AM
  4. ERROR in 4.01
    By rateck in forum Help
    Replies: 3
    Last Post: 2006-02-02, 10:00 PM
  5. Replies: 7
    Last Post: 2005-05-10, 08:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •