You are here

public function CommerceShippingQuote::submit_form_validate in Commerce Shipping 7

Perform validation on submit_form

Parameters

$pane_values: $form_state['values'] from the pane where the form is located

$checkout_pane: $checkout_pane passed by commerce.

$form_parents: The submit_form's parents, which can be used when setting form_errors

$order: Optionally pass the order, if the class wasn't instantiated with the order.

Overrides CommerceShippingQuoteInterface::submit_form_validate

1 method overrides CommerceShippingQuote::submit_form_validate()
CommerceShippingExample::submit_form_validate in modules/plugins/quotes/example_plugin/CommerceShippingExample.class.php
Submit form validation callback: validates data entered via our custom submit form elements. Failed validation requires a FALSE return value. Otherwise nothing needs to be returned.

File

plugins/quotes/quote_base/CommerceShippingQuote.class.php, line 118
Contains the CommerceShippingQuote class and CommerceShippingQuoteInterface interface.

Class

CommerceShippingQuote

Code

public function submit_form_validate($pane_form, $pane_values, $form_parents = array(), $order = NULL) {
}