Support

  1. it@jankuhr.biz
  2. Support
  3. Tuesday, August 27 2019, 09:31 PM
hello,
i have a website running easy profile and i need to change the ui representation for a birthday date field.
When the site was set up i decided to use the default date picker style to select the year/day/month with a mouse.
I would like to change this to a very simple field where the user enters his dob manually as text/numbers.
How can this be done without changing the current database content?
The field should still hold the values as DATE type in the Database.
B.R. Jan
admin Accepted Answer
Admin
Hi and sorry for late reply.

Unfortunately this is not possible natively.
To do this you need to change field type from database with a tool like PhpMyAdmin (normally provided by all hosting companies): in the table #__jsn_fields these is the list of fields, you need to change in the field row the column called "type" from "date" to "text".

Note: the field need to allow only format like "YYYY-MM-DD" (this is SQL format). Therefore you need to limit values by using "Format Allowed" parameter and the correct regex expression
  1. more than a month ago
  2. Support
  3. # 1
it@jankuhr.biz Accepted Answer
Pro
Hello,

thank you for the answer,
what will happen if i change the database field manually?
will the UI representation in the forms change to a textfield automatically or do i have to make adjustments there as well?

b.r. Jan
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
if you change the type from Database, basically the field will be managed like textfield, so it will change automatically.
  1. more than a month ago
  2. Support
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.