Ben, Thank you.
I'm using the DMXzone log in template and converted it into a new customer account form. I am setting up a test server environment for development. I am using MAMP PRO 3.0.5 (latest version) with PHP 5.5.10 and MySQLi client version 5.5.36, Apache 2.2.26.
I've uploaded all of the DMXzone required extensions and followed the click by click instructions. I've recreated the web page from scratch (in case there was a corrupted file) and gone through the processes twice more.
In the DMXzone Database connector it found the correct database. In the DMXzone Database Updater "Manage database Actions" and "manage database executor" all of the form information was linked together with the database. I did have an issue here when following the directions from DMXzone. When I attempted to link to the HTML5 behaviors -> data bindings I received an error "please use this behavior on page with HTML5 Data Bindings on it and could not link to that segment of the instructions.
Here is the new account page HTML.
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>New Account</title>
<link rel="stylesheet" type="text/css" href="../bootstrap/3/css/bootstrap.css" />
<script type="text/javascript" src="../ScriptLibrary/jquery-latest.pack.js"></script>
<link rel="stylesheet" type="text/css" href="../fontawesome/css/font-awesome.min.css" />
<script type="text/javascript" src="../ScriptLibrary/dmxDatabaseAction.js"></script>
<script type="text/javascript" src="../bootstrap/3/js/bootstrap.js"></script>
<script type="text/javascript">
function MM_popupMsg(msg) { //v1.0
alert(msg);
}
function dmxDatabaseActionControl(action, id) { // v1.0
if (jQuery.dmxDatabaseAction) {
var da = jQuery.dmxDatabaseAction.get(id),
args = Array.prototype.slice.call(arguments, 2);
if (da) {
da[action].apply(da, args);
}
}
}
</script>
</head>
<body>
<div class="container">
<form class="form-signin">
<h2 class="form-signin-heading">Create an account </h2>
<input name="enterfirst" type="text" required class="form-control" id="enterfirst" placeholder="first name" autocomplete="on" maxlength="25">
<input name="enterlast" type="text" required class="form-control" id="enterlast" placeholder="last name" autocomplete="on" maxlength="25">
<input name="enteremail" type="text" required class="form-control" id="enteremail" placeholder="email address" autocomplete="on" maxlength="50">
<input name="enterpword" type="text" required class="form-control" id="enterpword" placeholder="your password" autocomplete="off" maxlength="20">
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me">
Remember me </label>
</div>
<button type="button" class="btn btn-default" onClick="dmxDatabaseActionControl('run','local8-18',{},this)">Submit</button>
</form>
</div> <!-- /container -->
<script type="text/javascript">
/* dmxDatabaseAction name "local8-18" */
jQuery.dmxDatabaseAction(
{"id": "local8-18", "url": "../dmxDatabaseActions/local8-18.php", "data": {"first": "{{$FORM.enterfirst}}", "last": "{{$FORM.enterlast}}", "email": "{{$FORM.enteremail}}", "password": "{{$FORM.enterpword}}"}, "success": "MM_popupMsg('Thanks! Your account has been created. An email will be sent to you with the detials on your account. ');", "error": "MM_popupMsg('Ooops!! These things happen...\\r - If you already have an account with us either create a new account with another email address, or click the \\\"password assistance\\\" link. If you feel that it\\'s our fault then click the contact link at the top of the home page');"}
);
/* END dmxDatabaseAction name "local8-18" */
</script>
</body>
</html>