Unique ID field?

More
3 years 4 months ago - 3 years 4 months ago #80616 by nikitagupta2106
I am using a text field (text - Text (number/time/etc/custom validation)) to enter ID Card Number. This ID is unique and there can be no other entries with that ID. An error must be shown if this ID is entered again while submitting another form.

How can I achieve this? I googled and searched this forum but couldn't find a solution.
Last edit: 3 years 4 months ago by nikitagupta2106.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #80617 by micker
Replied by micker on topic Unique ID field?
you can't do whiout create your own field becasue you need to check if value alreday existe before save

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #80619 by nikitagupta2106
Replied by nikitagupta2106 on topic Unique ID field?
Yes. How do I create my own field and check if a value already exists?

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #80620 by micker
Replied by micker on topic Unique ID field?
sorry we can do it for you
check the faq at first and you can find this
www.flexicontent.org/documentation/tutor...-new-field-type.html

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #80623 by nikitagupta2106
Replied by nikitagupta2106 on topic Unique ID field?
The link you gave is to duplicate a field that I don't think has any relation with my unique ID field situation. I don't see how we can create a unique ID field in that tutorial.

Am I missing something?

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #80624 by micker
Replied by micker on topic Unique ID field?
we didn't have a tutorial for your case
the link is for duplicate field to create yours, and after adding your code to check if value is already exist

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.838 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline