Jump to content

kareem3d

New Members
  • Posts

    2
  • Joined

  • Last visited

kareem3d's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. What trq meant is to modify the method validate to accept a $form argument like this function validate($form) and remove the line 'global $form;' And when calling the validate method pass the $form object to it.
  2. Add this javascript code ( you have to include jquery ) $(document).ready(function() { $('[name="mylife"]').keypress(function(e){ var length = $('[name="mylife"]').val().length; $(".edit_sub_text").html('(' + (1350 - length) + 'character limit)'); }); });
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.