Results 1 to 3 of 3

Thread: create weblead

  1. #1
    sk1983 is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    41

    Question create weblead

    hello,

    question,

    When I want to make a HTML web-page with the web lead buttun, then I want to make a HTML-page without a form, But I must always put-in the field Last name, because it is requirement. There must be option to turn this off in one of the php-scrips, but I don't only not witch php-document it is.

    Can anybody tell where I can Find This?
    Using:
    SugarCRM V 5.0.0B on
    Apache V.2.0.63
    MySQL V.4.1.20
    PHP V.5.2.5

  2. #2
    ToniFatec is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    64

    Wink Re: create weblead

    Your post is a bit confusing. I understood you want the field "Last Name" in Leads module to be NOT required, isn't it ?

    So, the simplest way to do that is:
    Open the editviewdefs.php of Leads
    <basepath>/modules/Leads/metadata/editviewdefs.php

    find
    PHP Code:
    array('name'=>'last_name',
                
    'displayParams'=>array('required'=>true),
    ), 
    change it to:
    PHP Code:
      array('name'=>'last_name',
                
    'displayParams'=>array('required'=>false),
          ), 
    That's all.

  3. #3
    sk1983 is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    41

    Default Re: create weblead

    Hey Toni,

    I know that code, i've ready change that. But what I mean, that you can make a lead to web form, (you can find it in the Campaign -> create lead form) and then you can make a HTML. But it is always require to imput the field "last name" even if you change that script. Is there an other way to change it?????

    Greets,
    Using:
    SugarCRM V 5.0.0B on
    Apache V.2.0.63
    MySQL V.4.1.20
    PHP V.5.2.5

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2008-08-20, 02:39 PM
  2. Create Opportunities from Quotes?
    By dbridenbaugh in forum Feature Requests
    Replies: 3
    Last Post: 2008-01-15, 05:27 PM
  3. InboundEmail attachment file problems.
    By jjwdesign in forum Help
    Replies: 3
    Last Post: 2007-09-27, 05:18 AM
  4. Create a drop down in create oppurtunities page
    By siva143viji in forum Developer Help
    Replies: 1
    Last Post: 2007-02-02, 03:14 PM

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
  •