|
@ -435,7 +435,9 @@ $.fn.form = function(parameters) { |
|
|
var |
|
|
var |
|
|
ruleName = module.get.ruleName(rule), |
|
|
ruleName = module.get.ruleName(rule), |
|
|
ancillary = module.get.ancillaryValue(rule), |
|
|
ancillary = module.get.ancillaryValue(rule), |
|
|
prompt = rule.prompt || settings.prompt[ruleName] || settings.text.unspecifiedRule, |
|
|
|
|
|
|
|
|
prompt = $.isFunction(rule.prompt) |
|
|
|
|
|
? rule.prompt() |
|
|
|
|
|
: rule.prompt || settings.prompt[ruleName] || settings.text.unspecifiedRule, |
|
|
requiresValue = (prompt.search('{value}') !== -1), |
|
|
requiresValue = (prompt.search('{value}') !== -1), |
|
|
requiresName = (prompt.search('{name}') !== -1), |
|
|
requiresName = (prompt.search('{name}') !== -1), |
|
|
$label, |
|
|
$label, |
|
|