I have added some custom fields in SugarCRM cases module throuhg studio. Is it possible to add screen validations?
I have added some custom fields in SugarCRM cases module throuhg studio. Is it possible to add screen validations?
Hi, bathi741
What kind of validation are you planning to add?
Which version of sugar?
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
version 5.0
added a custom dropdown. If a team selects an specific value in dropdown and selects a team 'X", then give a error message
hi ,
please try this
in custom/modules/yourmodule/metadata/editviewdefs.php
add this to your drop down array
'type' => 'combobox',
then made a folder in includes/Sugarfields/Fileds/Combobox/
(same as definrd in Enum folder) with files EditView.tpl andSugarFieldCombobox.php
in editView.tpl u can add attribute "onchange=yourvalidation()" in "select " tag
and then define this function in
modules/yourmodule/yourmodule.js
i hope it will work
Thanks
Hi, anamikakhadwal
I´ll try that asap!
It seems to be right wonderful.
Great job!
Cheers
André Lopes
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Hi, anamikakhadwal
We tried this for creating a custom Address field and it works wonderfully.
Very thank you.
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Hi ,
I need a similar validation for dropdown in cases but it should throw an alert when the user clicks on save button.
how this could be done.
Thanks,
Karthik
Hi Karthik
You just need to define a customCode for the save button adding the alert() before check_form.
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks