SOLVED

Agree to Terms Form Submit

Go to solution
Anonymous
Not applicable
How to implement without creating a custom field. Should I just add custom JQuery code or might there be a magento specific way?
Tags (1)
1 ACCEPTED SOLUTION
Josh_Hill13
Level 10 - Champion Alumni
For a TOS, then you would want to record their acceptance with a timestamp. So create a custom field "Accepts TOS=T/F" (checkbox) and consider a separate TOS Accepted Timestamp field (string).

Then you can use the API to add the person's acceptance.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable
Matt - No particular reason not to use custom variable. To Josh's point, it is a TOS agreement, and on custom app I would normally log the approval and the date, so it does make sense to do it here too, including the time.
Josh_Hill13
Level 10 - Champion Alumni
For a TOS, then you would want to record their acceptance with a timestamp. So create a custom field "Accepts TOS=T/F" (checkbox) and consider a separate TOS Accepted Timestamp field (string).

Then you can use the API to add the person's acceptance.
Matt_Stone2
Level 9
Is there a particular reason why you don't want to add a custom field? It might be tricky to insert a field that doesn't actually belong to the form via jQuery and then run validation off of that.