Change form field meta programmatically
-
Hi,
I have an edit-profile-form, where users can fill out a textarea.
The maximum amount of characters must be limited, according to the user’s role (basic: 200 chars, normal: 400 chars, premium: 800 chars).
Now I don’t want to create a new form for each role, because the forms are all the same, except for the amount of chars in the textarea. Therefore I’m trying to do it via hooks or similar, but not really successful…Any idea on how I can achieve this?
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Change form field meta programmatically’ is closed to new replies.