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
Started 14 years ago by Trowar | 4 posts |
-
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 # -
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 # -
I can populate single line fields without a problem.
I am trying to populate the euro price fields.
Posted 14 years ago # -
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 #
Reply
You must log in to post.