October 2017
Intermediate to advanced
370 pages
8h 57m
English
To get the CLIENT_ID to the server, we can just add it as a hidden field in our form like this:
<input name="client_id" type="hidden" value="CLIENT_ID(cart)" data-amp-replace="CLIENT_ID">
The main things to note here are the following:
If you inspect the DOM in developer tools as you submit the form, you should see that a value has been substituted, and the hidden field will look something like this: ...
Read now
Unlock full access