Hello,
It seems, 'Description' listing field as 'Required field' does not raise any error if you leave it empty or with some blanks. (Checked with demo.)
Thanks
Printable View
Hello,
It seems, 'Description' listing field as 'Required field' does not raise any error if you leave it empty or with some blanks. (Checked with demo.)
Thanks
I've checked and it works, the script displays the error: The "Additional Information" field is required; please fill in it.
if it's filled at least for one language - it's ok
regarding the ignoring spaces, go to includes > classes > rlCommon.class.php > public function checkDynamicForm > case 'textarea':
find below:
and replace with:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
then replace:
with:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
Here are the results of my website: Version 4.8.1
I only have one language: English.
I entered from 0 to 10 spaces and each time I received the following error message:
- The "Description" field is required, please fill in it. (grammar error: ...fill it in...)
I also tested it with many spaces and still, I received the same above error message.
I think the current script recognizes that the user is trying to trick the system by using the space bar and it prevents listings from being posted.
If a user wants to trick the system, they are going to find a way.
I would send a kind message to the user reminding them that they must enter proper descriptions for all listings.
I don't like making the description field required as users may want to come back later to add it instead of adding it each time.
You right. I am using flynax 4.7 and there is no Multilingual parameter in AP>Listing Fields>Description (or Additional Information)> Edit
So i had to changetoCode:Only registered members can view the code.
in rlCommon.php and it works now. (any other suggestion?)Code:Only registered members can view the code.
[QUOTE=Rudi;33689]regarding the ignoring spaces, go to includes > classes > rlCommon.class.php > public function checkDynamicForm > case 'textarea':
find below:
and replace with:PHP Code:
Only registered members can view the code.
then replace:PHP Code:
Only registered members can view the code.
with:PHP Code:
Only registered members can view the code.
/QUOTE]PHP Code:
Only registered members can view the code.
Very nice code and works fine.
Thank you so much