form-functionality-library
Version:
A modular, flexible form functionality library for Webflow forms supporting single-step, multi-step, and branching forms
30 lines • 989 B
TypeScript
/**
* Enhanced Error Handling Module - Form Field Wrapper Standardization
* Provides robust error message handling that works with inconsistent HTML structures
* Version: 1.8.0 - Form Wrapper Standardization
*/
/**
* Enhanced error showing function with multiple fallback strategies
*/
export declare function showEnhancedError(fieldName: string, message?: string): void;
/**
* Clear enhanced error with multiple strategies
*/
export declare function clearEnhancedError(fieldName: string): void;
/**
* Initialize enhanced error handling for all fields in the form
*/
export declare function initializeEnhancedErrorHandling(): void;
/**
* Clear all enhanced errors
*/
export declare function clearAllEnhancedErrors(): void;
/**
* Get statistics about enhanced error handling
*/
export declare function getEnhancedErrorStats(): {
totalFields: number;
fieldsWithCustomMessages: number;
fieldsWithErrorElements: number;
};
//# sourceMappingURL=enhancedErrors.d.ts.map