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 /

AjaxUniqueTextField


Reply


2 Posts   81 Views

Avatar
SniperOmicron

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:

$name,
$title,
$restrictedField,
$restrictedTable,
$value = "",
$maxLength = null,
$validationURL = null,
$restrictedRegex = null

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

Avatar
Kirk

Community Member, 42 Posts

18 August 2014 at 9:22am

Edited: 18/08/2014 9:23am

They have the following example on sspaste.com
[url]http://sspaste.com/paste/show/5165743a4851b[/url]