def fv_multi_sub(formname, *pairs):
    """
    >> fv_multi_sub <formname> [ <pair1> [ <pair2> [ <pair3> ]]]

    Set multiple form fields (as with 'fv_multi') and then submit().
    """
    from twill import commands
    for p in pairs:
        fieldname, value = p.split('=', 1)
        commands.fv(formname, fieldname, value)
    commands.submit()
