Stuff
public text v1 · immutablefunction cipartner_insuranceform_block06_validate($element, &$form_state, $form) {
$form["#attributes"]["class"] = "submitted";
if (!preg_match("/^[\d]+$/", $element['#value'])) {
form_error($element, "Введите число в поле «Стоимость на момент страхования»");
}
}