Skip to content

Commit

Permalink
Changing the links to go to help.form.io instead of github page. (#5865)
Browse files Browse the repository at this point in the history
  • Loading branch information
travist authored Oct 15, 2024
1 parent 6801a11 commit e072cbd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit e072cbd

Please sign in to comment.