Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Navigation Button (Seq field)
Re: Navigation Button [message #5544 is a reply to message #5543] Sun, 15 May 2016 04:10 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2361
Registered: April 2006
Location: Surrey, UK
Senior Member
I recently switched to the filter_var() function to validate all numeric input, and it seemed to be working until I tried this very same task. It seems that this function does not like leading zeroes such as '001', although it will accept a single zero '0'. Apparently this is *NOT* a bug!!!

I have therefore had to modify my validation class (update attached) to strip any leading zeroes before passing the value to the filter_var() function.


 
Read Message
Read Message
Read Message
Previous Topic: LIST2 + UPD4 + ADD4 FAILS
Next Topic: List 1 Object Calls
Goto Forum:
  


Current Time: Tue Sep 10 03:15:36 EDT 2024

Total time taken to generate the page: 0.03292 seconds