Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solve] picklist - mandatory
#5
(09-19-2017, 08:18 PM)joebordes Wrote: There are two ways of making a picklist mandatory.

One is to add an empty string in the list: https://discussions.corebos.org/thread-617.html
The other is using business map validations: http://corebos.org/documentation/doku.php?id=en:adminmanual:businessmappings:validations
Look at the cbCalendar activitytype example


I try eliminate a value --None--  for leadsource in leads module, 
but not working.

What I do wrong?

<map>

  <originmodule>
    <originname>leads</originname>
  </originmodule>
  <fields>
    <field>
      <fieldname>leadsource</fieldname>
      <validations>
        <validation>
          <rule>notIn</rule>
          <restrictions>
          <restriction>--Nada--</restriction>
          </restrictions>
        </validation>
      </validations>
    </field>
</map>

I test in demo on line
Ranieri
eCRM Web
Reply


Messages In This Thread
[solve] picklist - mandatory - rslemer - 09-19-2017, 07:48 PM
RE: picklist - mandatory - joebordes - 09-19-2017, 08:18 PM
RE: picklist - mandatory - rslemer - 02-12-2018, 05:38 PM
RE: picklist - mandatory - rslemer - 10-07-2017, 10:54 AM
RE: picklist - mandatory - joebordes - 10-07-2017, 05:36 PM
RE: picklist - mandatory - joebordes - 02-12-2018, 10:46 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)