SOLVED

Re: Agree to Terms Form Submit

Go to solution
Anonymous
Not applicable

Agree to Terms Form Submit

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

Accepted Solutions
Josh_Hill13
Level 10 - Champion Alumni

Re: Agree to Terms Form Submit

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
Matt_Stone2
Level 9

Re: Agree to Terms Form Submit

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.
Josh_Hill13
Level 10 - Champion Alumni

Re: Agree to Terms Form Submit

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.
Anonymous
Not applicable

Re: Agree to Terms Form Submit

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.