''

@staticmethod
def climate_price_create_onvalidation(form):

    vars = form.request_vars
    db = current.db
    table = db.climate_prices
    query = ((table.category == vars['category']) & (table.parameter_id == vars['parameter_id']))
    price = db(query).select(table.id, limitby=(0, 1)).first()
    if (price is not None):
        form.errors['nrs_per_datum'] = ['There    is    a    conflicting    price    for    the    above    category    and    parameter.']
        return False
    else:
        return True
