Skip to content

v2.0.0 Denpasar

Compare
Choose a tag to compare
@wayangalihpratama wayangalihpratama released this 30 May 09:58
· 26 commits to main since this release

Update from v1.1.8 to v2.0.0

Below is a brief description of key points to consider when updating your ARF Editor from version 1.1.8 to version 2.0.0

Question Group Setting

v1.1.8 v2.0.0 Description
name name In the new release, the name parameter has become a unique identifier for question groups, in addition to the question ID.
- label The label parameter represents the text of the question group. This parameter is used to display the actual question group text to the user.

Question Setting

v1.1.8 v2.0.0 Description
name name In the new release, the name parameter has become a unique identifier for questions, in addition to the question ID. This change allows for easier identification of questions by their names in various scenarios, such as when creating the fnString for autofield questions. By using the name parameter, you can streamline the process and improve clarity when referencing specific questions.
- label The label parameter represents the text of the question. This parameter is used to display the actual question to the user, providing clear and concise wording for the information being requested.
- short_label The short_label parameter represents a value that will be used as a replacement for the question text in the Excel export. This allows for a more concise and clear representation of questions in the exported data, ensuring that the labels are easily understandable and appropriately formatted for reporting purposes.
- displayOnly This feature is useful when you need to display a question and its value during data collection, but do not require the answer value of this displayOnly question to be submitted. By setting a question to displayOnly, you ensure that it is shown to the user without its response being included in the final submission.

Question Option Setting

v1.1.8 v2.0.0 Description
code value The code parameter has been updated to value, which now represents the option's value that will be submitted.
name label The name parameter has been updated to label, which represents the option label displayed to the user.

Question Autofield Setting

v1.1.8 v2.0.0 Description
fnString fnString The format of the fnString parameter has been updated. In v1.1.8, we used #question_id as the question identifier. However, in v2.0.0, we now use #question_name# as the identifier, making the fnString more readable.

Additionally, we have removed the need to include function () { } or () => { } when defining the fnString, allowing for direct definition of the function body.

Furthermore, an autocomplete function has been implemented for defining the fnString. When typing #, the autocomplete will suggest question names, making it easier to select the desired question name from the suggestions. This autocomplete feature is available for question types such as option, multiple_option, number, text, input, and autofield.

What's Changed

Full Changelog: v1.1.8...v2.0.0