scorpitron
Založený: 30.04.2009
Príspevky: 3
Zaslal: 2011-02-16 01:07
Návrat hore
Odpovedať s citátom
|
hi, searched around could not find answer.
i need to make nearly every field required when adding a record.
i did this:
Kód: |
$opts['fdd']['CUST_REC#'] = array(
'name' => 'CUST REC#',
'select' => 'T',
'maxlen' => 40,
'sort' => true,
'required' => true |
worked perfect if a user fails to enter in they get pop up box.
but when i try to do that to multiple fields/columns it stops working. basically if i try to apply that
to 1 field it works, more than 1 field and none of it works.
also, all of my fields are as simple as the code i copied, nothing fancy.
any help would be greatly appreciated.
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2011-02-16 07:04
Návrat hore
Odpovedať s citátom
|
Problems relate to CUST_REC#
No matter what characters MySQL says might be valid when naming columns, tables, and databases, usage of anything other than lower case a-z (optionally followed by 0-9 and the underscore character) amount to shooting one's self in the foot.
The # character is probably what's causing your problems.
http://www.hockinson.com/index.php?s=36
|
scorpitron
Založený: 30.04.2009
Príspevky: 3
Zaslal: 2011-02-18 00:13
Návrat hore
Odpovedať s citátom
|
thanks heaps! moved all things to lower case fields on mysql side + got rid of special chars and its all gravey now.
never would have figured that out, i have a few other db's linked to myphpedit but this is first time i needed to make a field required so those chars never screwed me before :)
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2011-02-18 00:24
Návrat hore
Odpovedať s citátom
|
Probably better to define the field as an ENUM using phpMyAdmin and set the values there, then recreate the form. Assuming the options don't change often.
|
laakea
Založený: 20.04.2021
Príspevky: 1164
Zaslal: 2021-06-02 12:59
Návrat hore
Odpovedať s citátom
|
I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post.
Door installation Companies
|
laakea
Založený: 20.04.2021
Príspevky: 1164
Zaslal: 2021-06-20 14:03
Návrat hore
Odpovedať s citátom
|
What is an outstanding post! “I’ll be back” (to read more of your content). Thanks for the nudge!
Face mask
|
Wayne
Založený: 18.04.2021
Príspevky: 1926
Zaslal: 2021-10-02 10:44
Návrat hore
Odpovedať s citátom
|
Hi there, I found your blog via Google while searching for such kinda informative post and your post looks very interesting for me.
Pengeluaran Sydney
|
Wayne
Založený: 18.04.2021
Príspevky: 1926
Zaslal: 2021-10-10 11:15
Návrat hore
Odpovedať s citátom
|
Our credit repair services work to fix past credit mistakes and verify credit report accuracy. Talk to a credit repair expert today!
buy wholesale thc concentrates
|
robinjack
Založený: 01.03.2021
Príspevky: 8746
Zaslal: 2022-09-18 15:52
Návrat hore
Odpovedať s citátom
|
Thank you for making the honest attempt to discuss this. I feel very strong about it and would like to learn more. If it’s OK, as you gain extra in depth knowledge, might you mind adding more articles very similar to this one with more information? It would be extraordinarily useful and useful for me and my friends.
Amarose
|
topboosterseo
Založený: 24.07.2022
Príspevky: 4523
Zaslal: 2022-09-27 06:40
Návrat hore
Odpovedať s citátom
|
i love to play internet games specially on facebook where you have farmville and mafiawars;;
Diaetoxil
|
robinjack
Založený: 01.03.2021
Príspevky: 8746
Zaslal: 2022-09-27 15:55
Návrat hore
Odpovedať s citátom
|
Nice read, I just passed this onto a friend who was doing some research on that. And he actually bought me lunch since I found it for him smile Therefore let me rephrase that: Thanks for lunch!
Protetox
|
robinjack
Založený: 01.03.2021
Príspevky: 8746
Zaslal: 2022-09-29 11:27
Návrat hore
Odpovedať s citátom
|
Hey dude, what kind of wordpress theme are you using? i want it to use on my blog too “
More Help
|
topboosterseo
Založený: 24.07.2022
Príspevky: 4523
Zaslal: 2022-10-01 07:12
Návrat hore
Odpovedať s citátom
|
Your blog never ceases to amaze me, it is very well written and organized.**”*,
Heater Pro X
|
robinjack
Založený: 01.03.2021
Príspevky: 8746
Zaslal: 2022-10-01 16:17
Návrat hore
Odpovedať s citátom
|
Aw, this was a very nice post. In idea I wish to put in writing like this additionally – taking time and precise effort to make a very good article… however what can I say… I procrastinate alot and in no way seem to get one thing done.
Protetox
|
robinjack
Založený: 01.03.2021
Príspevky: 8746
Zaslal: 2022-10-05 13:04
Návrat hore
Odpovedať s citátom
|
firt aid kits… keep up your informative writing! At least i have something to look forward too when iam at work!…
tcnmicrosites
|
Odoslať novú tému
Odpovedať na tému
Choď na stránku 1, 2, 3 ... 11, 12, 13 Ďalší
|