- Posts: 2
COMMUNITY FORUM
Computed extra field
- Nikhil Prakash Agrawal
-
Topic Author
- Offline
- New Member
Less
More
7 years 5 months ago - 7 years 5 months ago #167940
by Nikhil Prakash Agrawal
Computed extra field was created by Nikhil Prakash Agrawal
Hi,
I have a blog category with date of birth as an extra field. This is a text field and the format should be dd-mm-yyyy. I have two questions on this extra field.
1. Is it possible to run a validation on this extra field tthat the format is dd-mm-yyyy?
2. I also want to create one computed extra field from this date of birth field. In the computed field I want to keep the same information but in mm-dd (no yyyy here) format. This field will be used for sort and search.
Any pointers will be of great help.
Thanks,
Nikhil
I have a blog category with date of birth as an extra field. This is a text field and the format should be dd-mm-yyyy. I have two questions on this extra field.
1. Is it possible to run a validation on this extra field tthat the format is dd-mm-yyyy?
2. I also want to create one computed extra field from this date of birth field. In the computed field I want to keep the same information but in mm-dd (no yyyy here) format. This field will be used for sort and search.
Any pointers will be of great help.
Thanks,
Nikhil
Last edit: 7 years 5 months ago by Nikhil Prakash Agrawal.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 5 months ago #167948
by Krikor Boghossian
Replied by Krikor Boghossian on topic Computed extra field
Hello,
I would suggest looking into JoomReems's - joomreem.com extrafield related extensions which provide chained fields.
The alternative would be using a custom built extension which loads the validation scripts and manipulates the data.
I would suggest looking into JoomReems's - joomreem.com extrafield related extensions which provide chained fields.
The alternative would be using a custom built extension which loads the validation scripts and manipulates the data.
Please Log in or Create an account to join the conversation.
- Nikhil Prakash Agrawal
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 2
7 years 5 months ago #167958
by Nikhil Prakash Agrawal
Replied by Nikhil Prakash Agrawal on topic Computed extra field
Thanks for the reply.
I will reach out to 'joomreem.com extrafield related extensions' support to evaluate whether that extension will work for my use case.
-Nikhil
I will reach out to 'joomreem.com extrafield related extensions' support to evaluate whether that extension will work for my use case.
-Nikhil
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 5 months ago #167968
by Krikor Boghossian
Replied by Krikor Boghossian on topic Computed extra field
You 're welcome :)
Please Log in or Create an account to join the conversation.