def __validate_transfer_form():

    error = None

    # fetch values and check they are actually provided
    if 'date' in request.form: date = request.form['date']
    else: error = 'You need to provide a date'
    if 'amount' in request.form: amount = request.form['amount']
    else: error = 'You need to provide an amount'
    if 'deduct_from' in request.form: deduct_from_account = request.form['deduct_from']
    else: error = 'You need to provide an account to deduct from'
    if 'credit_to' in request.form: credit_to_account = request.form['credit_to']
    else: error = 'You need to provide an account to credit to'

    return locals()
Returns the row of the end of the next diffscuss comment, and the current
dataset/ETHPy150Open radekstepan/FlaskBudget/presenters/accounts.py/__validate_transfer_form--crossover with--dataset/ETHPy150Open hut8labs/diffscuss/diffscuss/support/editor.py/find_next_comment_end