Forums

Visual Form Builder
Default Country (2 posts)

  1. aro747
    Member
    Posted 4 months ago #

    How can I set a default country for the drop-down?

    Thanks for your help.

    http://wordpress.org/extend/plugins/visual-form-builder/

  2. Kevvy Spoon
    Member
    Posted 2 months ago #

    I managed to change this by amending the code a wee bit.

    Goto the php file in the Edit Plugins section (visual-form-builder/visual-form-builder.php

    Search for the section regarding the list of countries ... something like
    <option selected="selected" value=""></option>';

    and put the Country in between the two " " at value so that it looks like this example
    <option selected="selected" value="United Kingdom"></option>';

    This may not work on all browsers but many of them are ok.

Reply

You must log in to post.

About this Plugin

About this Topic