I have this as part of an .rhtml page:
<%= javascript_include_tag “prototype” %>
<%= form_tag :controller => ‘reallist’, :action => ‘addnewuser’%>
email:
<%= text_field_tag :email, nil, :size => ‘14’ %>
</div>
<%= link_to_remote "check name availability", :update => "nameStatus",
:url => { :action => "checkname"} %>
<br />
password:<br />
<input type='password' name='pass1' size=14><br />
retype password:<br />
<input type='password' name='pass2' size=14>
my question: can I get link_to_remote to send a value from the form to
the server for evaluation? In the present example, I’m trying to check
if a user’s choice of name is already in use. There’s no need to send
the entire form if link_to_remote can deal with it…