CF8 - Texfild with Valid Function

Prevent a text field from being overwritten by database data during validation.

Overview

The issue occurs when a text field, which loads initial data from a database and validates for a 200-character limit, incorrectly replaces user-entered text with the original database value after validation.
Ensure the form logic preserves the user's input post-validation instead of reverting to the loaded database value. This fix is planned for an upcoming update.

Answered
ChronoForms v8
rb rbock 30 Sep, 2023
I use a text field. the field is loaded from the database. the field should not have more than 200 characters.

load data, it works.
count characters, it works.
error message if more than 200 characters, that works.

BUT: The written text is overwritten with the version from the database.
Max_admin Max_admin 30 Sep, 2023
Answer
1 Likes
this should be fixed in the next update too
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.