May 22nd, 2011, 10:30 AM
Greetings,
I am really digging this, thank you all who were involved in creating it.
I have a (hopefully) quick question. I'm trying to set up an extremely basic inventory tracking log of sorts. I have some fields (columns in tables) that need to have a check for uniqueness. Is this best done in PHP or in an SQL DISTINCT query or by manually forcing a column to have all unique identifiers?
I would like to have an indication (not a generic mysql error) that the entry is not unique and is a duplicate for the end user on their browser when attempting to enter it in through a field.
So far everything is working great in terms of the forms posting their data into the SQL table, but I do not see anything in the options of Form Tools to have a check for unique data.
Again, mad props to all involved in the development of this. I was trying to recreate this very thing by hand for the last 2 days before I discovered Form Tools quite by mistake.
I am really digging this, thank you all who were involved in creating it.
I have a (hopefully) quick question. I'm trying to set up an extremely basic inventory tracking log of sorts. I have some fields (columns in tables) that need to have a check for uniqueness. Is this best done in PHP or in an SQL DISTINCT query or by manually forcing a column to have all unique identifiers?
I would like to have an indication (not a generic mysql error) that the entry is not unique and is a duplicate for the end user on their browser when attempting to enter it in through a field.
So far everything is working great in terms of the forms posting their data into the SQL table, but I do not see anything in the options of Form Tools to have a check for unique data.
Again, mad props to all involved in the development of this. I was trying to recreate this very thing by hand for the last 2 days before I discovered Form Tools quite by mistake.