Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can we hide fields ONLY when creating a record?
#9
Just for anyone curious:
PHP Code:
<map>
    <
originmodule>
        <
originname>Assets</originname>
    </
originmodule>
    <
dependencies>
        <
dependency>
            <
field>asset_no</field>
            <
condition>
                [{
                    
"groupid""",
                    
"columnname""vtiger_assets:assetname:assetname:Assets_Asset_Name:V",
                    
"comparator" "e",
                    
"value""",
                    
"columncondition"""
                
}]
            </
condition>
            <
actions>
                <
hide>
                    <
field>cf_1440</field>
                </
hide>
            </
actions>
        </
dependency>
    </
dependencies>
</
map

The above map will hide the "cf_1440" (obviously change it with you own) only when creating a new asset.
Reply


Messages In This Thread
RE: Can we hide fields ONLY when creating a record? - Guido1982 - 06-04-2019, 11:17 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)