This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Deleting the countries list


  1. vmillo
    Member

    Would there be any problem with my deleting most of the list of countries from “includes/view-functions.php” in order to shorten the code? I am doing business only locally. I recognize that when you quote a line number in that file, my line numbers will be different if I do this deleting.

    Also, I suggest you add “focus” to your own sign-in forms to place the cursor in the first box.

    Posted 14 years ago #
  2. yuniar

    No, there shouldn't be any problem with deleting those countries. Just make sure that you are deleting the lines correctly.


    MachForm Founder

    Posted 14 years ago #
  3. erina
    Member

    Yuniar, Can you please explain how to delete the lines correctly? I want to do ONE of the following:

    Delete every country except for the US.
    OR
    Move the US to the top of the list.
    OR
    Remove the country field entirely.

    Which is easiest and how do I do it?? :) Thanks!

    Posted 14 years ago #
  4. yuniar

    The easiest one would be setting the US to be the default selected value.
    From the form builder page, click your address field and look into the field properties tab.

    Set the "Default Country" dropdown to the US.

    This way, the US will be pre-selected when you load the form.


    MachForm Founder

    Posted 14 years ago #

RSS feed for this topic

Reply