| Index
» Projects
» phpMyEdit
» Forum
» [js][regexp] from dropdownlist |
 |
ned@kelly.org.au
Joined: 08 Apr 2004
Posts: 22
Location: Mosquito Flat, Australia
Posted: 2004-10-06 05:47
Back to top
Reply with quote
|
Hi All
Ive been having a few problems with the [js][regexp] option.
It works fine for plain data entry fields but just doesnt want to work for dropdown lists
basically what im after is to have a dropdown list that as default is blank but is required and doesnt accept blank as an answer
below is by code
| Code: |
$opts['fdd']['client_on_tax'] = array(
'name' => 'Client on tax *',
'select' => 'D',
'maxlen' => 1,
'values' => array('','Y','N'),
'js' => array(
'required' => true,
'regexp' => '/^[0-9]*$/',
'hint' => 'Please enter a option for Client on Tax'
),
'required' => true,
'options' => 'ACV',
'sort' => true
);
|
refer
http://opensource.platon.sk/forum/projects/viewtopic.php?t=483
for more information
thanks michal for your help
Cheers
Ned
|
jiliray916@
Joined: 01 Nov 2023
Posts: 563
Posted: 2024-01-06 10:18
Back to top
Reply with quote
|
I am incessantly thought about this, thanks for putting up.
roof cleaning bristol
|
QADIRSEO
Joined: 29 Dec 2023
Posts: 1168
Posted: 2024-01-08 11:46
Back to top
Reply with quote
|
Thanks for the writeup. I definitely agree with what you are saying. I have been talking about this subject a lot lately with my brother so hopefully this will get him to see my point of view. Fingers crossed!
shillong teer result
|
|
Post new topic
Reply to topic
|
|
|
|