*I am adding fields dynamically -- need to display alert for mandatory fields
1. By Clicking on add "Add Contact Details" button few fields will be displayed out of that 2 fields are mandatory.
* While Saving record need to display alerts
*I am adding fields dynamically -- need to display alert for mandatory fields
1. By Clicking on add "Add Contact Details" button few fields will be displayed out of that 2 fields are mandatory.
* While Saving record need to display alerts
To validate field, You need to add javascript as below into the form.
syntax isPHP Code:<script>addToValidate('<FORMNAME>','<FIELD_NAME>', 'varchar', true, '<ERROR LABEL>');</script>
addToValidate(formname, name, type, required, msg);
Thumbs up.
Web : http://www.urdhva-tech.com
Twitter - @urdhvatech
Skype ID - david__boris
Blog: Urdhva-Tech
SugarForge Projects:
sociaLead Chrome extension to create Leads from social web like Linked-In and Facebook
tagMe Tag your important records, highlight descriptions to easily identify in bunch of records!
Dynamic Dropdown Admins, smile now!! Edit Drop downs right from edit view! (Version 1.0.1 Beta is out now!)
WYSIWYG now in studio!(Version 1.1 is out now!)
Fab Tools! > Dashlet Not Followed Opportunities for past six Months
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks