support customization of the form through html data- attributes #362

Closed
opened 2025-10-14 16:55:23 -06:00 by navan · 0 comments
Owner

Originally created by @mckennapsean on 3/26/2017

From the discussion in #18 and pull requests in #90 & #93, I think we could add several customizations to the form. For example, we could make it have less assumptions (which element IDs are used for thank-yous or the forms) and store this data in data- attributes instead. Similarly, we could allow those attributes to store values such as which Google Sheet to push data to or email even.

This requires some significant rewrite and restructuring of the form data in some cases. If someone feels up to the task, but there are a lot of moving parts here.

Because of this, I wanted to open up discussion to see what types of customizations are most important. Based on feedback and issues I have seen, I have some ideas, but I wanted to keep it open for others. Once I have an idea on what I would suggest, I will write it down here, but feel free to propose other ideas as well!

*Originally created by @mckennapsean on 3/26/2017* From the discussion in #18 and pull requests in #90 & #93, I think we could add several customizations to the form. For example, we could make it have less assumptions (which element IDs are used for thank-yous or the forms) and store this data in `data-` attributes instead. Similarly, we could allow those attributes to store values such as which Google Sheet to push data to or email even. This requires some significant rewrite and restructuring of the form data in some cases. If someone feels up to the task, but there are a lot of moving parts here. Because of this, I wanted to open up discussion to see what types of customizations are most important. Based on feedback and issues I have seen, I have some ideas, but I wanted to keep it open for others. Once I have an idea on what I would suggest, I will write it down here, but feel free to propose other ideas as well!
navan closed this issue 2025-10-14 16:55:28 -06:00
Sign in to join this conversation.
No labels
Priority-1
Priority-1
Priority-1
Priority-1
Priority-1
Priority-1
Priority-1
Priority-1
awaiting-review
awaiting-review
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
chore
chore
discuss
discuss
discuss
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
epic
epic
external-dependency
external-dependency
external-dependency
hacktoberfest-accepted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
in-progress
in-progress
in-progress
in-review
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
merge-conflicts
merge-conflicts
please-test
please-test
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
question
spam
spam
starter
starter
starter
starter
starter
starter
starter
starter
starter
technical
technical
technical
technical
technical
user-feedback
user-feedback
user-feedback
user-feedback
user-feedback
user-feedback
wontfix
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/learn-to-send-email-via-google-script-html-no-server#362
No description provided.