Results 1 to 4 of 4

Thread: Removing Mandatory Fields in Contact import

  1. #1
    katapult is offline Junior Member
    Join Date
    Nov 2006
    Posts
    4

    Unhappy Removing Mandatory Fields in Contact import

    Hi there

    I am trying to import of client db, though I keep getting problems on importing as not all records have the required fields.

    Is there anyway of make fields so they are no longer mandatory??

    Any help appreciated as I am tearing my hair out (whats left of it!)

    I have looked at editview.html and vardefs.php and can't see anything that needs commenting out

    TIA

    Steph

  2. #2
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Removing Mandatory Fields in Contact import

    Quote Originally Posted by katapult
    Hi there

    I am trying to import of client db, though I keep getting problems on importing as not all records have the required fields.

    Is there anyway of make fields so they are no longer mandatory??

    Any help appreciated as I am tearing my hair out (whats left of it!)

    I have looked at editview.html and vardefs.php and can't see anything that needs commenting out

    TIA

    Steph
    I think you was on the right track. In the vardefs.php file, you can change the mandatory field from requied Yes to No
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  3. #3
    katapult is offline Junior Member
    Join Date
    Nov 2006
    Posts
    4

    Default Re: Removing Mandatory Fields in Contact import

    Thanks Malcolm

    I'll keep hacking away at the code then

    In the meantime if anyone else can offer any advice it would be much appreciated!

    Steph

  4. #4
    Barakanooz is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    26

    Default Re: Removing Mandatory Fields in Contact import

    KATAPULT - I was having a similar problem and was looking to remove the AutoAccount required field. The other fields seem to be required depending on the module field_arrays.php definitions.
    Anyone know why the AutoAccount field is defined ?

    THX

Thread Information

Users Browsing this Thread

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

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
  •