// HTTP 201 — record created
Message received.
Thanks for reaching out — I usually reply within two business days. In the meantime, feel free to browse the articles or head back home.
contact_form.js
// submitting your message var gr = new GlideRecord('x_inbox_message'); gr.setValue('from', submittedEmail); gr.insert(); gs.info('201', 'insert successful');
rows inserted1