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

FIO-9208: Changing the links to go to help.form.io instead of github page. #5865

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default [
'<p>You must assign the <strong>show</strong> variable a boolean result.</p>' +
'<p><strong>Note: Advanced Conditional logic will override the results of the Simple Conditional logic.</strong></p>' +
'<h5>Example</h5><pre>show = !!data.showMe;</pre>',
'<p><a href="http://formio.github.io/formio.js/app/examples/conditions.html" target="_blank" rel="noopener noreferrer">Click here for an example</a></p>'
'<p><a href="https://help.form.io/userguide/form-building/logic-and-conditions" target="_blank" rel="noopener noreferrer">Click here for an example</a></p>'
)
];
/* eslint-enable quotes, max-len */
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default [
),
EditFormUtils.javaScriptValue('Calculated Value', 'calculateValue', 'calculateValue', 1100,
'<p><h4>Example:</h4><pre>value = data.a + data.b + data.c;</pre></p>',
'<p><h4>Example:</h4><pre>{"+": [{"var": "data.a"}, {"var": "data.b"}, {"var": "data.c"}]}</pre><p><a href="http://formio.github.io/formio.js/app/examples/calculated.html" target="_blank" rel="noopener noreferrer">Click here for an example</a></p>',
'<p><h4>Example:</h4><pre>{"+": [{"var": "data.a"}, {"var": "data.b"}, {"var": "data.c"}]}</pre><p><a href="https://help.form.io/userguide/form-building/logic-and-conditions#calculated-values" target="_blank" rel="noopener noreferrer">Click here for an example</a></p>',
'<tr><th>token</th><td>The decoded JWT token for the authenticated user.</td></tr>'
),
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/_classes/component/editForm/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const EditFormUtils = {
'<tr><th>value</th><td>The current value of the component.</td></tr>' +
'<tr><th>moment</th><td>The moment.js library for date manipulation.</td></tr>' +
'<tr><th>_</th><td>An instance of <a href="https://lodash.com/docs/" target="_blank" rel="noopener noreferrer">Lodash</a>.</td></tr>' +
'<tr><th>utils</th><td>An instance of the <a href="http://formio.github.io/formio.js/docs/identifiers.html#utils" target="_blank" rel="noopener noreferrer">FormioUtils</a> object.</td></tr>' +
'<tr><th>utils</th><td>An instance of the <a href="https://help.form.io/developers/javascript-development/javascript-utilities" target="_blank" rel="noopener noreferrer">FormioUtils</a> object.</td></tr>' +
'<tr><th>util</th><td>An alias for "utils".</td></tr>' +
'</table><br/>'
/* eslint-enable prefer-template */
Expand Down
2 changes: 1 addition & 1 deletion src/components/form/editForm/Form.edit.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default [
),
EditFormUtils.javaScriptValue('Calculated Value', 'calculateValue', 'calculateValue', 130,
'<p><h4>Example:</h4><pre>value = data.a + data.b + data.c;</pre></p>',
'<p><h4>Example:</h4><pre>{"+": [{"var": "data.a"}, {"var": "data.b"}, {"var": "data.c"}]}</pre><p><a href="http://formio.github.io/formio.js/app/examples/calculated.html" target="_blank" rel="noopener noreferrer">Click here for an example</a></p>'
'<p><h4>Example:</h4><pre>{"+": [{"var": "data.a"}, {"var": "data.b"}, {"var": "data.c"}]}</pre><p><a href="https://help.form.io/userguide/form-building/logic-and-conditions#calculated-values" target="_blank" rel="noopener noreferrer">Click here for an example</a></p>'
),
{
weight: 140,
Expand Down
Loading