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

Home » RADICORE development » Bug Reports » Navigation Button (Seq field)
Navigation Button [message #5543] Sat, 14 May 2016 06:04 Go to next message
htManager is currently offline  htManager
Messages: 415
Registered: May 2014
Senior Member
Hi Tony,

after copying the new includes files from v1.94.0 from 04/01/2016 I get the following error in field Seq when changing Navigation buttons:

Value is not a whole number (see also attached screen shot)

Do I have to copy something else? As I see there are no database changes to do.
  • Attachment: radicore.png
    (Size: 189.57KB, Downloaded 851 times)

[Updated on: Sat, 14 May 2016 06:05]

Report message to a moderator

Re: Navigation Button [message #5544 is a reply to message #5543] Sun, 15 May 2016 04:10 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2347
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.


Re: Navigation Button [message #5545 is a reply to message #5544] Sun, 15 May 2016 07:11 Go to previous message
htManager is currently offline  htManager
Messages: 415
Registered: May 2014
Senior Member
Thank you. Everything works fine now.
Previous Topic: LIST2 + UPD4 + ADD4 FAILS
Next Topic: List 1 Object Calls
Goto Forum:
  


Current Time: Fri Mar 29 09:35:54 EDT 2024

Total time taken to generate the page: 0.00899 seconds