Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for additional custom fields into client details. #1050

Open
david-roper opened this issue Dec 3, 2024 · 2 comments
Open

Allow for additional custom fields into client details. #1050

david-roper opened this issue Dec 3, 2024 · 2 comments
Assignees
Labels

Comments

@david-roper
Copy link
Collaborator

Description

Currently the client details section of the form allows for a custom client facing title, duration and instructions, however it would be beneficial to allow for custom fields to be added to this section if the form should include addition client info. (ex: a When to use field, etc.)

A possible solution could look like this


 clientDetails: {
   estimatedDuration: 10,
    instructions: {
      en: ['test form'],
      fr: ['teste forme']
    },
    title: {
      en: 'title of form',
      fr: "Titre de form"
    },
    additionalFields: {
       whenToUse: {
         kind: "string",
         content: {
              en: "Use after form one"
              fr: "Utilise apres forme un"
         }

        }
     }
  },

Estimated Difficulty

Medium

Priority

Low

@gdevenyi
Copy link
Contributor

gdevenyi commented Dec 3, 2024

Hi David,

I don't at all understand what this is asking for.

The concept of forms in ODC are completely independent and non-sequential. Sequences can be achieved via series instruments designed by the data managers.

What's the use case here, can you give a concrete example?

@david-roper
Copy link
Collaborator Author

This issue was made for the case of being able to display the MouseODC form descriptions to the user, which were useful for providing information for what the form is used for. However since its displayed within the availableInstruments page it may not be completely necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants