SOLVED

Agree to Terms Form Submit

Go to solution
Highlighted
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
Highlighted
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
Highlighted
Level 6

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.
Highlighted
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

Highlighted
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.