Log message #4225795

# At Username Text
# Feb 10th 2020, 08:36 slackebot <neon1024>
# Feb 10th 2020, 08:36 challgren Ahh so basic form
# Feb 10th 2020, 08:36 neon1024 Oh, I have my labels above
# Feb 10th 2020, 08:35 challgren What I got so far.
# Feb 10th 2020, 08:35 challgren Checkboxes I cant even get to line up
# Feb 10th 2020, 08:34 neon1024 Well, radio and checkbox, I don’t implement the JS parts
# Feb 10th 2020, 08:34 challgren Maybe cause im using 2.9.3
# Feb 10th 2020, 08:34 challgren All Form Elements is what Im trying
# Feb 10th 2020, 08:34 neon1024 That should just work
# Feb 10th 2020, 08:34 challgren http://webapplayers.com/inspinia_admin-v2.9.3/form_basic.html
# Feb 10th 2020, 08:33 challgren Forms that match the look and feel
# Feb 10th 2020, 08:33 neon1024 What are you trying to generate?
# Feb 10th 2020, 08:32 neon1024 I haven’t had any issues :)
# Feb 10th 2020, 08:32 challgren Ahh ok yeah thats what I use but the templates dont quite match up
# Feb 10th 2020, 08:32 challgren I seem to be fighting formhelper to do what I want it to do
# Feb 10th 2020, 08:32 neon1024 Nope, I use the friendsofcake/bootstrap-ui
# Feb 10th 2020, 08:31 challgren You dont happen to have a custom form helper for it?
# Feb 10th 2020, 08:31 neon1024 Probably, that’s what we use at work
# Feb 10th 2020, 08:31 challgren @neon1024 didnt you recommend inspinia theme?
# Feb 10th 2020, 07:47 challgren Tried putting {{error}} inside the input template and that didnt work
# Feb 10th 2020, 07:46 challgren How do I get a Form error inside the div created for the input. I overrode the template inputErrorContainer but the {{error}} is outside the {{input}}
# Feb 10th 2020, 06:49 alexdd55976 morning dudes and duderinas
# Feb 10th 2020, 06:08 latenal Is there a standard way of publishing to a redis channel in cake4?
# Feb 10th 2020, 03:20 challgren Use this->form->submit()
# Feb 10th 2020, 03:01 challgren That's JavaScript related
# Feb 10th 2020, 02:05 wizardfix Like, how to get a `select` element to submit when it's value changes? If I set `'type' => 'select'` I cannot also set `'type' => 'submit'` ... :thinking_face:
# Feb 10th 2020, 02:01 wizardfix Yeah I've been reading but wish their were more form creation examples.
# Feb 10th 2020, 02:00 challgren Np I’d read up on the form helper its pretty handy some of the stuff it can do. But it does take a bit of convincing to get it to do what you want
# Feb 10th 2020, 01:59 wizardfix Wow, it works! Thank you a whole heap1 :beer: :beer: @challgren
# Feb 10th 2020, 01:57 challgren do label=false in your options array
# Feb 10th 2020, 01:56 wizardfix Now it sends the data - win - but displays the name above the selector, which I don't want!
# Feb 10th 2020, 01:53 wizardfix Aha!
# Feb 10th 2020, 01:53 challgren That first parameter is the name
# Feb 10th 2020, 01:53 challgren Ohh ok, well your issue is your input doesn’t have a field name
# Feb 10th 2020, 01:52 wizardfix I just want to get data from the request in my `filter()` method
# Feb 10th 2020, 01:50 challgren remove the action part if your want it to go to self
# Feb 10th 2020, 01:49 wizardfix I must be missing something here. Using (in 3.8) FormHelper to create a Form with a dropdown selector with 3 options. But when the form is submitted, the value of `$this->request->getData()` is `null`. I changed the HTTP method to `GET` , expecting the selected value to be included in the URL as a query string parameter, but the request just goes to `users/filter`.
# Feb 9th 2020, 22:53 sdevore if you have routes that specify the _namePrefix (like for API calls) and routes that don’t it seems if i use Router::url() is there a way to get the one with out the the name. I seem to always get `/api/programs/view…' vs `/programs/view...` It is mostly a cosmetic issue, but I don’t want those in the url…
# Feb 9th 2020, 20:01 phantomwatson In your controller, you can also call `$this->render(...)` with the path to the template file that you want to use. https://book.cakephp.org/3/en/controllers.html#rendering-a-view
# Feb 9th 2020, 19:20 wizardfix I worked around it by creating `search.ctp` with `$this->extend('/Results/index');` in it. :)
# Feb 9th 2020, 18:54 wizardfix v. 3.8: How do I override the default view template when rendering, so that my `search()` view function uses the `index.ctp` template instead of `search.ctp`? :thinking_face: