# 폼 템플릿 소개

**URL:** https://meta.discourse.org/t/introducing-form-templates/278631
**Category:** Announcements
**Tags:** feedback, new-feature, form-templates
**Created:** [10월 16, 2023, 3:28오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631 "2023-10-16T15:28:44Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [1월 12, 2024, 9:55오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/60 "2024-01-12T21:55:13Z")

</div>

게시글이 기존 주제에 병합되었습니다: [태그로 폼 템플릿 설정하기](https://meta.discourse.org/t/setting-form-templates-with-a-tag/283112/3)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [1월 16, 2024, 11:22오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/61 "2024-01-16T23:22:30Z")

</div>

카테고리 템플릿을 대체할 꽤 긴 템플릿을 만들어 보고 있습니다.

하지만 크기가 너무 크다는 오류가 발생하고 있습니다:

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/a/1/4a1852b6ef52ea2c22eaf586dd1877de5f491510.png)

그러나 이 설정은 더 높게 설정되어 있습니다:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/2/d/c2d58164ec40df72078282145c37dcfb961dc923.png)

이것은 같은 것이 아니라, 버그인가요?

코드를 간단히 살펴봤지만 답을 찾을 수 없었습니다.

5,000은 다소 제한적인 것 같습니다. 두 배로 늘리거나 별도의 설정으로 만들 수 있을까요?

아, 이제 보니 Active Record 오류이고, 원래 마이그레이션은 여기 있습니다:

> <https://github.com/discourse/discourse/blob/f2e669a008f49a0b37dec3cd0dd861493b292a05/db/migrate/20230202173641_create_form_templates.rb#L7>

---

<div class="post-metadata">

### Author: ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)
#### Post date: [2월 8, 2024, 8:31오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/62 "2024-02-08T20:31:59Z")

</div>

저는 사물을 위해 일반 템플릿을 사용해 왔고, 템플릿이 없느니만 못하다는 생각은 하지 않지만, 데이터를 어떻게 입력해야 하는지 명확하지 않아 결과물의 서식이 항상 어색하게 보입니다.\[1\] 따라서 커스텀 폼이 있다는 것은 훌륭합니다!

피드백:

1. ~~링크가 있는 것을 정말 그리워합니다. (그리고 덜 중요한 수준으로, 마크다운 포맷도요.) 사람들이 옵션의 의미를 모를 경우, 문서를 가리켜 주는 것이 유용할 것입니다.~~ [이 점과 다음 항목은 [Introducing Form Templates - #64 by Tris20](https://meta.discourse.org/t/introducing-experimental-form-templates/278631/64?u=jericson%EC%97%90%EC%84%9C) 다루어지고 있다고 생각합니다.]
2. ~~설명이나 도입부를 추가할 수 있는 방법을 원합니다. 가능하면 링크를 포함해서요. 😉~~
3. 게시물의 제목과 태그가 폼의 일부인 것 같습니다. 프롬프트를 커스터마이즈할 수 없는 것이 어색합니다. 이 폼에서는 제안된 그룹 이름을 제목으로 사용하길 원하지만, 사용자에게 이를 어떻게 전달해야 할지 명확하지 않아 중복 필드를 추가했습니다:  
 ![Screenshot 2024-02-08 at 9.22.23 AM](https://global.discourse-cdn.com/meta/original/4X/9/4/9/9498e000bc55d2a11c24fda5fc01128930547a8e.png)
4. 같은 맥락에서, 사람들이 특정 태그를 사용하도록 유도하는 방법을 포함하는 것도 흥미로울 것입니다. 예를 들어, 지원 시스템은 티켓을 분류하는 데 태그를 사용할 수 있습니다. 폼에는 관련 태그가 포함된 드롭다운을 포함하고, 이를 주제에 자동으로 적용할 수 있습니다. 카테고리에도 같은 방식으로 적용할 수 있겠죠.
5. `multi-select`가 하나 이상의 선택을 허용한다는 것이 바로 눈에 띄지 않습니다. 제 판단으로는 하나 이상을 선택하려면 Control 또는 Shift 키를 사용해야 한다는 것을 알아야 합니다.
6. 체크박스가 결과 게시물에서 체크박스 형태로 표시되면 좋겠습니다.\[2\]

> 박스가 체크되어 있나요?

7. 빈 폼을 제출하려고 하면 아무 일도 일어나지 않고 오류 메시지도 표시되지 않습니다. (공정하게 말하자면, 이를 수정하기 위해 유효성 검사를 하나 정도 추가할 수는 있겠습니다.)

전반적으로, 이 기능은 제 목적에 맞게 많은 장점을 갖추고 있습니다.\[3\] (저는 커뮤니티 빌딩 플랫폼에서 사람들이 [새로운 그룹을 제안](https://beta.buildcivitas.com/t/creating-a-new-proposal/70)할 수 있는 방법을 개발하고 있습니다.)

* * *

1. Stack Overflow의 [Ask Wizard](https://stackoverflow.blog/2022/10/27/introducing-the-ask-wizard-your-guide-to-crafting-high-quality-questions/)는 [매우 초보적인 템플릿](https://meta.stackoverflow.com/questions/357951/what-can-we-put-in-a-question-template-to-help-people-ask-better-questions)으로 시작했습니다. 그 경험은 제가 이 기능을 전반적으로 바라보는 시각에 영향을 미쳤습니다. 또한 현재 Discourse 템플릿 시스템을 [에세이 피드백 시스템](https://talk.collegeconfidential.com/t/students-need-help-w-your-college-essays-get-community-feedback-now/3640988)에 사용하기도 했습니다. 

2. 현재는 박스가 체크되어 있으면 "on"이라는 제목으로 표시됩니다. 

3. 흥미롭죠!

---

<div class="post-metadata">

### Author: ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)
#### Post date: [2월 8, 2024, 8:42오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/63 "2024-02-08T20:42:29Z")

</div>

아, 방금 양식 입력 내용이 초안으로 저장되지 않는 걸 알아차렸어요. 초안을 닫으면 주제 제목은 저장되지만, 텍스트 박스나 입력 필드에 쓴 내용은 저장되지 않아요. 짜증나.

---

<div class="post-metadata">

### Author: ![Tris20](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tris20/32/264639_2.png) [@Tris20](https://meta.discourse.org/u/Tris20)
#### Post date: [2월 8, 2024, 8:58오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/64 "2024-02-08T20:58:47Z")

</div>

> [@jericson](#):
>
> 링크가 있는 것이 정말 그립습니다. (그리고 Markdown 포맷도 어느 정도는요.) 옵션의 의미를 모르는 사람들에게 문서를 가리켜 줄 수 있으면 유용할 것입니다.

다른 곳에서 피드백을 받고 이 문제에 대해 후속 조치를 취하려 했었는데, 언급해 주셔서 감사합니다 🙂

> [@Danielle](#):
>
> `description` 필드는 HTML을 사용하여 하이퍼링크를 받을 수 있으며, 현재 [허용되는 유일한 HTML 요소](https://github.com/discourse/discourse/blob/b2dfc22498b2839cdcec5e438788446a801c476e/lib/validators/form_template_yaml_validator.rb#L6)이며 `description` 내에서만 사용할 수 있습니다.

따라서 약관에 대한 링크가 포함된 ToS(이용약관) 체크박스를 설정하려면 다음과 같은 방식으로 할 수 있습니다.

```yaml
- type: checkbox
  id: read-chatgpt-guidelines
  attributes:
    label: "I have read and I agree to the latest ChatGPT guidelines"
    description: '<a href="https://discourse.company.com/t/current-gpt-and-bing-guidelines/4348"> Click here for the latest ChatGpt Giudelines</a>'
  validations:
    required: true   
- type: checkbox
  id: accept-workspace
  attributes:
    label: "I will not use the @workspace command in customer project if I am using Github Co-pilot"
    description: '<a href="https://discourse.company.com/t/for-compliance-reasons-the-workspace-command-must-not-be-used-in-customer-projects/4371">Click here for details about @workspace command</a>'
  validations:
    required: true        

```

이것은 다음과 같이 보입니다:

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/2/7/327b2e90677ed8b89cc4bfa6e03e8e0a102ef165.png)

* * *

> [@jericson](#):
>
> 게시물의 제목과 태그가 폼의 일부인 것 같습니다. 프롬프트를 사용자 정의할 수 없다는 점이 다소 어색합니다. 이 폼에서는 제안된 그룹 이름을 제목으로 사용하길 원하지만, 사용자에게 이를 어떻게 전달해야 할지 명확하지 않아 중복된 필드를 추가했습니다:

현재 Forms에서 제가 겪는 유일한 불편한 점도 이것입니다. 사용자에게 약간 직관적이지 않고, 제목을 자동으로 채울 수 있다면 매우 유용할 것입니다.

---

<div class="post-metadata">

### Author: ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)
#### Post date: [2월 8, 2024, 9:05오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/65 "2024-02-08T21:05:34Z")

</div>

> [@Tris20](#):
>
> 해결 방법은 `description` 섹션에서 HTML로 인코딩하는 것이었습니다.

네, 잘 작동합니다. `description` 필드가 소개/설명 역할도 해줄 수 있을 것 같습니다. 팁 감사합니다!

---

<div class="post-metadata">

### Author: ![stuwest](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stuwest/32/192400_2.png) [@stuwest](https://meta.discourse.org/u/stuwest)
#### Post date: [2월 19, 2024, 8:24오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/66 "2024-02-19T20:24:58Z")

</div>

트리스탄이 위에서 말했듯이, 폼 응답으로 주제 제목을 채울 수 있으면 나에게 매우 유용할 것입니다.

예를 들어 사용자가 자기소개와 자신이 개를 좋아하는지 고양이를 좋아하는지 제출할 수 있는 폼이 있다면, 주제가 “고양이 애호가 자기소개: John Smith” 또는 “개 애호가 자기소개: Ralph McLeash” 등으로 표시되기를 원합니다.

정말 멋진 기능입니다! 여전히 실험 단계로 분류되나요? 현재 저는 이메일로 포럼에 게시하는 외부 폼을 사용 중인데, 이 기능이 장기적으로 유지될 것 같다면 이를 대체하고 싶습니다.

---

<div class="post-metadata">

### Author: ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)
#### Post date: [2월 20, 2024, 4:40오전 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/67 "2024-02-20T04:40:18Z")

</div>

> [@Tris20](#):
>
> 현재 Forms에서 제가 느끼는 유일한 불편한 점이기도 합니다. 사용자에게 다소 직관적이지 않고, 제목을 자동 입력할 수 있다면 매우 유용할 것입니다.

체크박스를 사용하여 사용자가 제목을 어떻게 입력해야 하는지 안내하는 방법을 시도해 보고 있습니다. 이상적인 방법은 아니지만, 현재로서는 우리가 가진 최선의 대안이라고 생각합니다:

 ![Screenshot 2024-02-19 at 8.38.10 PM](https://global.discourse-cdn.com/meta/original/4X/9/7/a/97a80965bcf21b2ca37a74ba159654cc0b19b302.png)

---

<div class="post-metadata">

### Author: ![ganncamp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ganncamp/32/106199_2.png) [@ganncamp](https://meta.discourse.org/u/ganncamp)
#### Post date: [2월 20, 2024, 8:03오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/68 "2024-02-20T20:03:36Z")

</div>

방금 이걸로 좀 놀아봤어요. 첫인상: 정말 좋아요! 감사합니다!!

이 기능이 확장된다면, 다음 기능들을 보고 싶어요:

- 조건부 필드, 즉 옵션 목록에서 "기타"를 선택할 때 일부 양식에 추가되는 텍스트 필드 같은 것.  
저의 구체적인 경우: 드롭다운에서 SonarQube를 선택하면, 그 버전을 입력하도록 프롬프트를 표시하고 싶어요.

- 또한 드롭다운의 값을 다른 곳에서, 아마도 게시물에서 가져올 수 있으면 좋겠어요.

---

<div class="post-metadata">

### Author: ![ganncamp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ganncamp/32/106199_2.png) [@ganncamp](https://meta.discourse.org/u/ganncamp)
#### Post date: [2월 21, 2024, 7:55오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/69 "2024-02-21T19:55:31Z")

</div>

우리의 CSS 변경 사항 (현재까지) 다른 분들에게 도움이 될 수 있으니 공유합니다:

```plaintext
// 회색 배경 제거
.d-editor #form-template-form {
    background-color: var(--secondary);
}

// 필드가 100% 너비로 늘어나는 것 방지
.form-template-field select, .form-template-field input {
    width: auto;
}

.form-template-field textarea {
    min-width: 650px;
    width: auto;
}

```

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2월 28, 2024, 11:27오전 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/70 "2024-02-28T11:27:35Z")

</div>

게시글이 새 주제로 분리되었습니다: [게시 전 컴포저에서 스크린샷 이름 변경](https://meta.discourse.org/t/renaming-screenshots-in-the-composer-before-posting/297053)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2월 28, 2024, 11:30오전 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/71 "2024-02-28T11:30:47Z")

</div>

피드백을 주신 모든 분께 감사드립니다. 🙂 이제 이 #announcements 주제를 닫고, 이 기능과 관련된 #Contribute > UX, #Contribute > Feature, #Contribute > Bug 또는 #Support 요청이 있는 분은 해당 카테고리에 새 주제를 열고 #form-templates 태그를 달아주십시오. 👍

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2월 28, 2024, 11:30오전 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/72 "2024-02-28T11:30:50Z")

</div>



---

<div class="post-metadata">

### Author: ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)
#### Post date: [1월 30, 2026, 1:43오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/78 "2026-01-30T13:43:31Z")

</div>



---

<div class="post-metadata">

### Author: ![TroLLoBloger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trollobloger/32/540181_2.png) [@TroLLoBloger](https://meta.discourse.org/u/TroLLoBloger)
#### Post date: [1월 30, 2026, 9:22오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/80 "2026-01-30T21:22:05Z")

</div>

Discourse가 점점 더 좋아지고 있어요! 정말 좋아요! 계속 발전해 주세요. 😍

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [1월 31, 2026, 3:15오전 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/81 "2026-01-31T03:15:13Z")

</div>

이 주제가 다시 잠금 해제되었습니다. 멋진 새로운 개선 사항이 보였으면 좋겠네요.

---

<div class="post-metadata">

### Author: ![R23D\_Printing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/r23d_printing/32/544902_2.png) [@R23D\_Printing](https://meta.discourse.org/u/R23D_Printing)
#### Post date: [2월 27, 2026, 8:45오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/82 "2026-02-27T20:45:29Z")

</div>

Discourse 최신 버전에서 여전히 Form Templates을 사용할 수 있나요? 자사 호스팅(self-hosted)을 사용 중이라면 관련이 있을 수 있습니다.

---

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [2월 27, 2026, 8:48오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/83 "2026-02-27T20:48:29Z")

</div>

네, 이제 [예정된 변경 사항](https://meta.discourse.org/t/upcoming-changes/395390)입니다:

> [@lindsey](#):
>
> **관리자** \> **예정된 변경 사항** 으로 이동하세요(또는 `/admin/config/upcoming-changes`를 방문하세요).

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/9/6/09668b31e50158d1edb72d1d3170bed91adb2060.png)

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [3월 3, 2026, 12:36오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/84 "2026-03-03T12:36:56Z")

</div>

새로운 게시물 작성 워크플로우에 대한 동등한 기능을 구현할 계획이 있나요? 그리고 각 폼 템플릿을 주제별 또는 카테고리별로 제한하는 기능도 있나요?

---

<div class="post-metadata">

### Author: ![Noble\_Fish](https://avatars.discourse-cdn.com/v4/letter/n/ad7895/32.png) [@Noble\_Fish](https://meta.discourse.org/u/Noble_Fish)
#### Post date: [3월 11, 2026, 1:02오후 UTC](https://meta.discourse.org/t/introducing-form-templates/278631/87 "2026-03-11T13:02:08Z")

</div>

유용해 보이지만, 다음과 같은 네 가지 질문이 있습니다:

1. `label` 필드에 대해 헤딩 수준을 정의하는 것이 불가능한가요? 제 시도와 OP의 예시 모두 3단계 헤딩을 사용하고 있습니다.
2. 현재 체크박스의 형태가 왜 선택되었나요? `[] xxxx`를 예로 들어 설명하면 다음과 같습니다:

- 제가 기대했던 형식:

```markdown
- [X] xxxx

```

  - xxxx
  - 체크박스 내용이 일반 텍스트로 처리되며, 프론트엔드에서 `- [X]` (또는 `- [x]`도 허용)가 앞에 추가되어 표준 마크다운 체크박스로 표시됩니다.

- 현재 사용 중인 형식:

```markdown
### xxxx
on

```

### 텍스트
on
  - 체크박스 내용이 3단계 헤딩으로 처리되며, 선택된 경우 `\non`이 추가됩니다.

- 솔직히 말하자면, 이 형식은 저에게 다소 혼란스럽습니다. 특히 1번에서 언급했듯이 모든 양식 레이블이 3단계 헤딩을 사용하기 때문이죠.

1. `description` 필드의 내용이 줄바꿈을 지원하지 않나요? 여러 줄의 설명 텍스트를 어떻게 추가할 수 있을까요?
2. _tag-chooser_ 유형 양식의 선택된 태그가 왜 최종 주제 콘텐츠에 표시되나요? 이는 다소 이상해 보입니다.

[이전 페이지](https://meta.discourse.org/t/introducing-form-templates/278631.md?page=1)

[다음 페이지](https://meta.discourse.org/t/introducing-form-templates/278631.md?page=3)
