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

    Set multiple form fields; each pair should be of the form
    
        fieldname=value

    The pair will be split around the first '=', and
    'fv <formname> fieldname value' will be executed in the order the
    pairs are given.
    """
    from twill import commands
    for p in pairs:
        fieldname, value = p.split('=', 1)
        commands.fv(formname, fieldname, value)
