photo

Robert Kehiayan

shared this question
2 years ago

Employees Involved

photo

PIV Support

Admin

Statistics

4
Comments
381
Views

Relates to

Share

Tags

1
votes

Custom Text Area Box not saving entry data

I created a custom "admin only" text area box in my edit user page. This box shows right above the "user fields". The text box shows up, allows data to be entered into the fields and I can update using the "update user button" However, once I leave the page, or refresh the page, the data that I just entered disappears.

I am using version: 3.2.7

My HTML:

<div class="field_element" id="addlead_feedback_private_data"></div><div style="font-weight: bold; text-align: left; ">{lang_lead_private_notes}</div><div style="text-align: left;"><textarea cols="40" id="addlead_private_notes" name="notes" rows="6"></textarea></div>

*I took this HTML from another admin file

Basically, my goal is to be able to add private admin only notes on members. Hopefully the field won't limit characters. Perhaps there is a better way to do this than above?

Any ideas or suggestions?

Add Comment

Comments (4)

photo Employee
1

You posted this as an idea. What is your idea? If you meant to post this as a question, you can edit your post and change it.

photo
1

Any ideas or suggestions?
What you did for sure will not work - data need to be saved at the database.

A new member field need to be created and template files from backend and from frontend need to be edited - in my opinion, a painful task.

If we could create an add-on then would be feasible but that is not possible to have at User Edit page.

I recommend to create an add-on to work OUTSIDE the Edit User page.

Just my 2 cents! :)

[]s

photo
1

thank you for the help! I will request a field such as this in a future upgrade.

photo
1

Robert Kehiayan wrote:

I will request a field such as this in a future upgrade.
??? Robert, there is no need to request anything and you don't need to wait for an upgrade.

Leave Comment

photo

Attach files...

The file must be a jpg, gif, png, bmp, ico, pdf, doc, rtf, txt, zip or rar no more than 2M