[!]***** Check for Missing variables *****[/!] [TEXT]PageError=F[/TEXT] [If ("[URL][_firstname][/URL]"="")|("[URL][_surname][/URL]"="")] [Then] [TEXT]PageError=T[/TEXT] [TEXT]Error01=T[/TEXT] [/Then] [/If] [If ("[URL][_USER_NAME][/URL]"="")] [Then] [TEXT]PageError=T[/TEXT] [TEXT]Error02=T[/TEXT] [/Then] [/If] [If ("[URL][_USER_PW][/URL]"="")] [Then] [TEXT]PageError=T[/TEXT] [TEXT]Error03=T[/TEXT] [/Then] [/If] [If ("[URL][_EMAIL][/URL]"="")] [Then] [TEXT]PageError=T[/TEXT] [TEXT]Error05=T[/TEXT] [/Then] [/If] [showif [pageerror]=T][include file=../include/manageusers/usersadd01.inc][/showif] [hideif [pageerror]=T] [append db=sitedata/crmusers.db&AUTONUMBER=SKU][!] [/!]&dbdate=[math]{[DATE]}[/math][!] [/!]&dbtime=[TIME][!] [/!]&authorisedby=[AccessName][!] [/!]&[formvariables name=_&exact=F][!] [/!][getchars start=2][name][/getchars]=[url][value][/url]&[!] [/!][/formvariables][!] [/!][text]thissku=[ThisAutoNumber][/TEXT][!] [/!][/append] [/hideif] [hideif [PageError]=T][redirect page.dna?id=[Random][Random][Random]&page=manageusers&task=users03&SKU=[ThisSKU]][/HideIf]