Results 1 to 3 of 3

Thread: Setting Required Fields in Web to Lead HTML Form

  1. #1
    monkeyfish is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    29

    Default Setting Required Fields in Web to Lead HTML Form

    I am having problems setting the required fields for the Web to Lead html form. By default it only does the last name as required fields. I would like to make first name, company, and phone number as required fields. I followed this post:

    http://www.sugarcrm.com/forums/showt...ields+Web+Lead

    but have not found the solution. Under modules/Leads/vardefs.php required is set to true. In the html form I have:

    <input id="req_id" value="last_name;first_name" name="req_id" type="hidden" />

    Still, if I leave the first name blank, it sends the message and doesn't give me any warning. How can I fix this?




    I am using Sugar CRM CE 5.0e

  2. #2
    monkeyfish is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    29

    Default Re: Setting Required Fields in Web to Lead HTML Form

    I fixed it. I forgot to put the ; after the last item and that screwed things up.

  3. #3
    whallify is offline Member
    Join Date
    Jan 2009
    Posts
    15

    Default Re: Setting Required Fields in Web to Lead HTML Form

    thanx, monkeyfish - your self-reply helped me out.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. web lead contact form not working on 5.0
    By agcilantro in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2008-03-08, 12:57 PM
  2. Replies: 1
    Last Post: 2007-09-04, 01:59 AM
  3. Replies: 0
    Last Post: 2006-11-08, 07:47 PM
  4. Blank required fields still saving
    By eggsurplus in forum Help
    Replies: 1
    Last Post: 2005-12-19, 04:43 PM
  5. Convert Prospect to Lead
    By bryanl0911 in forum Feature Requests
    Replies: 23
    Last Post: 2005-10-09, 11:58 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
  •