Hello All,
I have a form element where after the data has been filled in (with an
auto complete handler), I would like the next form element to be
filled in as well, with some corresponding data. This is essentially
a city/state combo. The code I have for this is:
<?php echo input_auto_complete_tag('city', '', "ispUser/autocomplete",
array ('autocomplete' => 'off',
'frequency' => '0.5s',
'onBlur' => remote_function( array('update' => 'StateSelection',
'url' => 'ispUser/new',
'with' => "'id=' +
this.options[this.selectedIndex].value",
'loading' => "Element.show('indicator')",
'complete' => "Element.hide('indicator')"))),
array ('use_style' => true, )); ?>
If I have simply a remote_function in the field, it works fine, but
will not integrate into the auto_complete. Any suggestions for how I
can get this working?
Thanks,
Shannon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---