5 months ago

escaping validation decimal point?

Posted 5 months ago by mooseh

hey everyone

I have a funky one here, i really need help with this validation as it's a tricky one

I have a post request with the following data

"start_parameters" => [
    "+server.tickrate" => 10
    "+server.hostname" => "my test"

of course my validation is failing for this as the following and i have tried to play around a lot with no such luck

            'ip' => 'required',
            'start_parameters.+server.tickrate' => 'required',
            'start_parameters.+server.seed' => 'required',
            'start_parameters.+server.worldsize' => 'required',
            'start_parameters.+server.level' => 'required',

Please sign in or create an account to participate in this conversation.