Results 1 to 4 of 4

Thread: Making a field required in Sugar OnDemand

  1. #1
    cloudmadeadmin is offline Junior Member
    Join Date
    Jun 2009
    Posts
    2

    Question Making a field required in Sugar OnDemand

    Hi there - I thought this would be a simple thing to change but I can't find an answer anywhere.

    On the Leads module the Last Name is a required field. For the purposes of a web to lead form I want to make the First Name and Email also required fields. I am then quite likely to want to take this functionality off. I have already changed a field I created to be required but find that this is greyed out as an option in Studio for system fields.

    Lots of answers to this for those who can access the php files but I can't find an answer for those of us using OnDemand.

    Please help

  2. #2
    bartvm is offline Sugar Community Member
    Join Date
    Jan 2005
    Location
    Rotterdam, NL
    Posts
    13

    Default Re: Making a field required in Sugar OnDemand

    I don't know if this is still an issue, but if it is:
    Have you tried making the fields mandatory on the web-to-lead form -only-? After all, once you have one of those forms, you can edit it and add the required characteristics to the field you want.

    Then in the javascript, add the fields to the required list and you're set.

    No need to do anything to the fields in Sugar itself.

  3. #3
    bhilbrands is offline Junior Member
    Join Date
    Oct 2009
    Posts
    1

    Default Re: Making a field required in Sugar OnDemand

    Hello I have tried this and some of the other suggestions in the forums and cannot seem to get any of them to work. I am new to using Sugar so please bare with me. I added the required fields to the output of the web form wizard right after where last_name is required, do I need to change anything else as well? Using Sugar 5.2j thanks in advance.

    PHP Code:
    <input id="req_id" name="req_id" value="last_name;" type="hidden"></td></tr><tr><td class="mceVisualAid" style="display: none;"><input id="req_id" name="req_id" value="first_name;" type="hidden"></td></tr><tr><td class="mceVisualAid" style="display: none;"><input id="req_id" name="req_id" value="phone_work;" type="hidden"></td></tr><tr><td class="mceVisualAid" style="display: none;"><input id="req_id" name="req_id" value="primary_address_postalcode;" type="hidden"></td></tr><tr><td class="mceVisualAid" style="display: none;"><input id="req_id" name="req_id" value="primary_address_country;" type="hidden"></td></tr></tbody></table></form

  4. #4
    spartovi is offline Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Default Re: Making a field required in Sugar OnDemand

    Hi, Did you ever find an answer to this post? Working on the same issue now.

    Thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 13
    Last Post: 2010-12-03, 11:17 AM
  2. Making fields as a required field
    By dinudanial in forum Developer Help
    Replies: 3
    Last Post: 2009-04-03, 05:12 AM
  3. Making required filed not required?
    By miavfw in forum General Discussion
    Replies: 8
    Last Post: 2008-04-11, 09:17 PM
  4. Replies: 7
    Last Post: 2007-07-13, 01:38 PM
  5. Replies: 2
    Last Post: 2006-12-23, 08:06 PM

Tags for this Thread

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
  •