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

Make the 'Feature' field input mandatory for node events #148

Open
PBoissier opened this issue Mar 4, 2024 · 1 comment
Open

Make the 'Feature' field input mandatory for node events #148

PBoissier opened this issue Mar 4, 2024 · 1 comment

Comments

@PBoissier
Copy link
Member

When an operator enters an event on a NODE, it should be possible to make the 'Feature' field mandatory.
The ability to define the mandatory aspect should be available in the WebObs configuration.

@PBoissier
Copy link
Member Author

Implementation proposal :

  • NODES.rc

In the NODES.rc configuration file, add :

EVENTNODE_FEATURE_MANDATORY|NO

'NO' (by default) or 'YES'

  • vedit.pl

In the context of editing an event (not a project) :

if (!$isProject) {

Add an argument to the JavaScript function postform() :

function postform(isFeatureMandatory) {

If the value of the argument is 'YES', then make selecting an item from the 'Feature' list mandatory.

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

No branches or pull requests

1 participant