![]() |
Sergey Kornilov admin 8/24/2007 |
I'm not sure why you need to assingn default values this way. |
C
|
ccuser author 8/24/2007 |
I'm not sure why you need to assingn default values this way. I would suggest to set default value in "Edit as" properties of the field.
|
C
|
ccuser author 8/27/2007 |
Has anyone tried something like this? Or found another way to accomplish the same task? |
![]() |
Alexey admin 8/29/2007 |
Hi, select Field1, Field2, Field3... to select Field1, 'value' as Field2, Field3... |
C
|
ccuser author 8/29/2007 |
Hi, you can use Before SQL query event for this. modify $strSQL to select a specified value instead of a field: Change to
|
![]() |
Alexey admin 8/29/2007 |
Hi, <script> document.forms.editform.value_Fieldname.onchange(); </script> |
C
|
ccuser author 8/29/2007 |
Hi, please ignore previous advice. Put the smarty->assign( ) statement to your OnLoad event. Then open your page in Visual Editor and switch to HTML mode. Add this code to the end of the page:
|