WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
Default Country (2 posts)

  1. aro747
    Member
    Posted 2 years 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. pr@egmc.co.uk
    Member
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic