Introducing Experimental Form Templates

I got feedback elsewhere and meant to follow up on this, thanks for the nudge :slight_smile:

So to set up ToS checkboxes with links to terms you can do something like

- 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        

Which looks like this:

image


This is also the only pain point I have with Forms at the moment. It’s just a bit un-intuitive for users, and being able to auto-populate the title would be very helpful.

5 Likes