10-10-2012 01:52 PM
A am trying to make a custom registration form and I cant get the get the darn thing to submit.
Cant find any guides for custom forms with aruba and I kinda suck at this.
Many thanks in advance.
|Do not include guest registration form contents|
Select this option if you want to replace the HTML of the form.
<form id="agreement" action="zdguest_register.php" method="post" autocomplete="off">
<p id="disclaimer" style="font-size: 9px;">You must agree with the terms and conditions in order to connect.</p>
<input name="agreement" type="radio" value="disagree" id="disagree" />
<label for="disagree">I Disagree</label>
<input type="email" name="Email" id="email" />
<input type="checkbox" value="agree" id="agree" />
<label for="agree">I Agree</label>
<input class="submit" id="submitButton" style="display: none;" type="image" value="submit" src="public/btn_connect_popup.png" alt="Connect to Web" />
Solved! Go to Solution.
10-10-2012 10:21 PM
You might find it easier to turn the default form back on, then copy and paste the form's HTML into the custom HTML area, and start modifying it from there.
This will give you a working form to start with, which is probably easier than trying to create it all from scratch yourself (unless you are a HTML guru)
10-11-2012 10:16 AM - edited 10-11-2012 10:16 AM
Thanks for the input guys. I have been trying to modify the source code from the pages but it wouldnt let me copy it into the header or footer fields because of numorous errors.
Today I took every java field in the souce and saved it in a .js file and uploaded it into the content manager and then linked it into my customized form.
Its not pretty but it's working and will get me started.
10-15-2012 11:49 AM
These characters are used to indicate Smarty "tags" and will give you strange errors if you do not escape them.
11-27-2012 04:28 PM
sorry to hijack this thread...
Is it possible to add dynamic content from the amigopod to this?
ie on the default form, the appliance can populate an http user agent string to a hidden field,
how would you pull this information to be populated in a hidden custome field?
11-29-2012 07:42 AM
Not sure I follow your question. If you enable the http_user_agent on the registration form (it defaults disabled), the value will be auto-populated as we know it is a special field. Same goes for remote_addr.