Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba


Go to End

2 Posts   369 Views


Community Member, 1 Post

18 August 2014 at 7:57am

I am trying to figure out how the AjaxUniqueTextField work, the form class has the following ajaxuniquetextfield:

AjaxUniqueTextField::create('Username', 'Username*', "Username", "account", "", 16, "validate", "^[a-zA-Z0-9]+$^")

As far as I know it has the following parameter:

$value = "", 
$maxLength = null, 
$validationURL = null, 
$restrictedRegex = null

If you have an example of a working version, would you mind sharing it?


Community Member, 52 Posts

18 August 2014 at 9:22am

Edited: 18/08/2014 9:23am

They have the following example on