Skip to contents

Creates a shinyvalidate input validator for Step 2 of the upload wizard. Validates optional fields: frames ZIP file (for animation extraction).

Usage

validator_step_2()

Value

A [shinyvalidate::InputValidator] object configured with Step 2 validation rules. Call `$enable()` to activate validation.

See also

* [validator_step_1()] for Step 1 validation * [ckfile()] for file extension checking

Other validation: ckfile(), validator_step_1()

Examples

if (FALSE) { # \dontrun{
# In server
iv_2 <- validator_step_2()

# Step 2 fields are optional, so validation is less strict
iv_2$enable()
if (iv_2$is_valid()) {
  # Process optional fields
}
} # }