The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Visual Form Builder
Default Country (2 posts)

  1. aro747
    Posted 4 years ago #

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

    Thanks for your help.


  2. pr@egmc.co.uk
    Posted 4 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

  • Visual Form Builder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic