Displaying 1 result from an estimated 1 matches for "action_div".
2006 Apr 13
0
Custom validation of form fields?
...ring is it possible to create a custom
validation method to be performed on a form field?
I have the following form (remote via ajax)
<%= form_remote_tag :url => {
:action => ''do_action'',
:id => @pid },
:before => ''Element.hide("action_div");'' %>
<%= text_field_tag "damt", "0", :size => ''5'' %>
<input type="submit" name="paction" value="Enter Data">
</form>
I would like to make sure the ''damt'' field is submitte...