Appnitro Software Forums » MachForm

Default values for price fields when using Advanced Form Code

(4 posts)

  1. 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 1 year ago #
  2. Are you able to populate the single line field with default value?
    Also, which price field are you using? dollar, euro?

    Posted 1 year ago #
  3. I can populate single line fields without a problem.

    I am trying to populate the euro price fields.

    Posted 1 year ago #
  4. 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 1 year ago #

RSS feed for this topic

Reply

You must log in to post.