Advertisement
matthewpoer

SugarCRM Form Validation Bypass

Jul 25th, 2012
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Disable the JavaScript-based form validation
  2. // and checking of required fields for a standard
  3. // SugarCRM EditView page.
  4. // Just throw this into Firebug console or whatever.
  5. var _form = document.getElementById('EditView');
  6. _form.action.value='Save';
  7. SUGAR.ajaxUI.submitForm(_form);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement