Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
prevent user from entering mobile number or website link
Support Forums - Classified Ads Script Osclass
General osclass questions
General discussion
prevent user from entering mobile number or website link
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
Satbeer Singh
126 posts
prevent user from entering mobile number or website link
«
on:
May 08, 2024, 10:24:20 AM »
Hello Sir,
How can we prevent user from entering mobile number or website link in title and description of the form while posting an ad on the portal.
«
Last Edit: May 08, 2024, 12:53:47 PM by Satbeer Singh
»
Logged
MB Themes
Support team
17669 posts
Only quality matters
Download Osclass
Re: prevent user from entering mobile number or website link
«
Reply #1 on:
May 08, 2024, 05:55:26 PM »
You cannot.
What you could do is to make keypress/keyuo jQuery function on title that does not allow special chars to be entered - like @, numbers 1-9, dot, ...
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Satbeer Singh
126 posts
Re: prevent user from entering mobile number or website link
«
Reply #2 on:
May 08, 2024, 07:16:37 PM »
Ok Sir i have done that already on my portal but still there are users who still post links in description and title.
Logged
MB Themes
Support team
17669 posts
Only quality matters
Download Osclass
Re: prevent user from entering mobile number or website link
«
Reply #3 on:
May 08, 2024, 07:56:53 PM »
Then its not working and you must add PHP validation (use posted_item or pre_post_item hooks)
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Satbeer Singh
126 posts
Re: prevent user from entering mobile number or website link
«
Reply #4 on:
May 13, 2024, 11:15:00 AM »
Sir it will be very helpful if you can provide code for it.
Logged
MB Themes
Support team
17669 posts
Only quality matters
Download Osclass
Re: prevent user from entering mobile number or website link
«
Reply #5 on:
May 13, 2024, 04:01:34 PM »
I do not have it, you need to build it.
Check these for hooks:
https://docs.osclasspoint.com/hooks
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Satbeer Singh
126 posts
Re: prevent user from entering mobile number or website link
«
Reply #6 on:
May 15, 2024, 07:38:43 PM »
Sir how much it will cost to build code for this.
Logged
Print
Pages: [
1
]