Some body have an idear |
11/30/2007 8:03:19 PM |
PHPRunner General questions | |
H
hsmdk author
Hello, |
|
J
|
Jane 12/3/2007 |
Hi, |
H
|
hsmdk author 12/3/2007 |
Hi, use dependent dropdown boxes for this purpose. Here are some helpful PHPRunner flash tutorials: http://xlinesoft.com/phprunner/php-database.htm
|
J
|
Jane 12/4/2007 |
Hi, |
H
|
hsmdk author 12/6/2007 |
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=23948&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' /> |
![]() |
Alexey admin 12/7/2007 |
Hi, |
H
|
hsmdk author 12/9/2007 |
Hi, you can add some javascript code to the Save button for this. Or use Before record added/updatedevent to update "total" field value.
|
![]() |
Alexey admin 12/10/2007 |
Hi, <script language=javascript> function calctotal() { document.editform.value_Felt5.value=parseFloat(document.editform.value_Felt3.val ue)+parseFloat(document.editform.value_Felt4.value); } value_Felt3.onblur = calctotal; value_Felt4.onblur = calctotal; </script> |
H
|
hsmdk author 12/28/2007 |
Hi, Hi, to calculate totals before on the page add some Javascript code to your page. Add onchange or onblur handlers to your controls for this. I.e. add this code to your page in HTML mode on the Visual Editor tab: |
J
|
Jane 12/29/2007 |
Hi, ... </HEAD> {literal}<script> function calctotal() { document.editform.value_Felt5.value=parseFloat(document.editform.value_Felt3.val ue)+parseFloat(document.editform.value_Felt4.value); } value_Felt3.onblur = calctotal; value_Felt4.onblur = calctotal; </script>{/literal} <BODY {$bodyonload}>{include_if_exists file="include/header.php"} <FORM name=editform action=_test2_add.php method=post ... |