<![CDATA[ Adding up to three IP addresses - My Forums]]> https://forums.modx.com/thread/?thread=44797 <![CDATA[Re: Adding up to three IP addresses]]> https://forums.modx.com/thread/44797/adding-up-to-three-ip-addresses#dis-post-257684 Chocoholic Sep 16, 2010, 02:03 PM https://forums.modx.com/thread/44797/adding-up-to-three-ip-addresses#dis-post-257684 <![CDATA[Re: Adding up to three IP addresses]]> https://forums.modx.com/thread/44797/adding-up-to-three-ip-addresses#dis-post-257683 sottwell Sep 16, 2010, 01:48 PM https://forums.modx.com/thread/44797/adding-up-to-three-ip-addresses#dis-post-257683 <![CDATA[Adding up to three IP addresses]]> https://forums.modx.com/thread/44797/adding-up-to-three-ip-addresses#dis-post-257682
My coding skills are terrible, but I guess I need the code to check against the field to see if the existing IP address matches the one stored, and if so, do nothing, and if not, check how many characters are stored in the Allowed IP Address field, and if under 51 (allowing for commas between IP addresses), append a comma and the IP address, and if over 51, provide a message to say they need to get in touch with the company.

Has anyone else implemented something like this?]]>
Chocoholic Sep 16, 2010, 07:50 AM https://forums.modx.com/thread/44797/adding-up-to-three-ip-addresses#dis-post-257682