$foo = $jinput->get('varname', 'default_value', 'filter'); but I'm not sure exactly how that would be used with post data.