diff --git a/source/tutorials/tutorials-interactive-apps/add-matlab/edit-form-js.rst b/source/tutorials/tutorials-interactive-apps/add-matlab/edit-form-js.rst deleted file mode 100644 index a380c911f..000000000 --- a/source/tutorials/tutorials-interactive-apps/add-matlab/edit-form-js.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. _app-development-tutorials-interactive-apps-add-matlab-edit-form-js: - -Edit ``form.js`` -================ - -OnDemand supports dynamic interactive forms using a file named ``~/ondemand/dev/bc_my_center_matlab/form.js``. This file is free-form; anything that can be done with client-side JavaScript may be done in this file. OSC has used this file to: - -- Limit the user's CPU/memory selection options to the type of hardware that they are requesting (`OSC MATLAB JavaScript`_) -- Show or hide a license field based on whether the user is permitted to use the OSC academic license or if they are required to use a different license provider (`OSC ANSYS JavaScript`_) -- Implement a file picker using the File Explorer's API, `Webpack`_, and `VueJS`_ (`bc_js_filepicker`_) - -.. warning:: - - Be aware that client side validation provided by JavaScript is not perfect and any critical values should be validated / sanitized server side in ``script.sh.erb`` or ``submit.yml.erb``. - -.. note:: - - This file is not required and may be empty or not exist. - -.. _bc_js_filepicker: https://github.com/OSC/bc_js_filepicker -.. _jquery: https://jquery.com/ -.. _osc ansys javascript: https://github.com/OSC/bc_osc_ansys_workbench/blob/master/form.js -.. _osc matlab javascript: https://github.com/OSC/bc_osc_matlab/blob/master/form.js -.. _vuejs: https://vuejs.org/ -.. _webpack: https://webpack.js.org/