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

Default values for price fields when using Advanced Form Code


  1. Trowar
    Member

    Hi,

    How can I populate the price fields with a default value when using Advanced Form Code?

    I use:

    if($form_id == 5 && $row['element_id'] == 3){
    $element[$j]->default_value = $_GET['email'];
    }

    to populate single line fields but you cannot set the element to 14_1 or 14_2 to edit the price fields.

    Thanks in advance.

    Posted 14 years ago #
  2. yuniar

    Are you able to populate the single line field with default value?
    Also, which price field are you using? dollar, euro?


    MachForm Founder

    Posted 14 years ago #
  3. Trowar
    Member

    I can populate single line fields without a problem.

    I am trying to populate the euro price fields.

    Posted 14 years ago #
  4. Trowar
    Member

    I found the solution in the thread:

    http://www.appnitro.com/forums/topic/lock-in-default-field#post-9801

    Not sure how I missed it in my searches.

    Anyway, problem solved :)

    Posted 14 years ago #

RSS feed for this topic

Reply