Log message #4159898

# At Username Text
# Jul 18th 2018, 09:27 alexdd55 all forms are closed
# Jul 18th 2018, 09:27 josbeir no ?
# Jul 18th 2018, 09:27 josbeir is wrapping around your list of edit items
# Jul 18th 2018, 09:27 josbeir your main form above
# Jul 18th 2018, 09:26 mr.mjsm File uploaded https://cakesf.slack.com/files/UBN7KUDRA/FBS0MLQ9X/pasted_image_at_2018_07_18_12_26_pm.png / https://slack-files.com/T053DPNCM-FBS0MLQ9X-cb12c11526 - <@U51A5M2DS>
# Jul 18th 2018, 09:26 madbbb @mr.mjsm check onclick event is firing.
# Jul 18th 2018, 09:26 neon1024 There are also no validation errors in the entity!
# Jul 18th 2018, 09:26 madbbb I can't find nested form in his source
# Jul 18th 2018, 09:26 neon1024 I am saving a Customer with multiple Addresses. I can marshall the Addresses just fine, the data changes, and it’s marked dirty. However the changes are never persisted to the database. What am I missing?
# Jul 18th 2018, 09:25 saeideng probably you forgot to close a tag
# Jul 18th 2018, 09:25 saeideng see source of page
# Jul 18th 2018, 09:24 mr.mjsm can you clarify this, to me. I don't see how the forms are nested, i closed the first form then created another form. how is that considered nesting ?
# Jul 18th 2018, 09:24 josbeir if you set
# Jul 18th 2018, 09:24 josbeir https://book.cakephp.org/3.0/en/views/helpers/form.html#creating-post-links
# Jul 18th 2018, 09:24 saeideng limitation in Html
# Jul 18th 2018, 09:23 josbeir forms inside forms wont work thats why it wont work
# Jul 18th 2018, 09:23 mr.mjsm @josbeir the default, didn't touch that.
# Jul 18th 2018, 09:23 josbeir you need to pass the block option so that the generated forms are echo'd outside your main form
# Jul 18th 2018, 09:22 josbeir @mr.mjsm are you using postLink or postButton in formHelper
# Jul 18th 2018, 09:21 saeideng note from cookbook : Be careful to not put a postLink inside an open form. Instead use the block option to buffer the form into a view block
# Jul 18th 2018, 09:21 mr.mjsm i dont see the nested part !
# Jul 18th 2018, 09:20 neon1024 Yeah, don’t nest forms.
# Jul 18th 2018, 09:20 mr.mjsm my code is just like <form> .... </form>
# Jul 18th 2018, 09:18 saeideng I did not see your code
# Jul 18th 2018, 09:18 saeideng `<form> main form .....<form> delete btn</form> </form>`
# Jul 18th 2018, 09:17 saeideng `postLink()` is useful in this case
# Jul 18th 2018, 09:17 mr.mjsm is it within though?
# Jul 18th 2018, 09:16 saeideng you can not use a `form` within another `form`
# Jul 18th 2018, 09:14 mr.mjsm File uploaded https://cakesf.slack.com/files/UBN7KUDRA/FBS9MK56G/-.html / https://slack-files.com/T053DPNCM-FBS9MK56G-e3c8086faa
# Jul 18th 2018, 09:10 alexdd55 @mr.mjsm can you show the html code from the delete button, which is rendered on the website?
# Jul 18th 2018, 09:09 saeideng :+1:
# Jul 18th 2018, 09:08 alexdd55 @saeideng thanks. works perfectly
# Jul 18th 2018, 09:08 alexdd55 i used exactly that on xmlandjson downloads.. was wondering why i should use it…
# Jul 18th 2018, 09:08 mr.mjsm File uploaded https://cakesf.slack.com/files/UBN7KUDRA/FBTS4HWBG/_companies_view_ctp.php / https://slack-files.com/T053DPNCM-FBTS4HWBG-2cbaeada5f - here is the code for the form and the delete button. any idea how to solve ?
# Jul 18th 2018, 09:07 saeideng with `with*()` methods , yes , always
# Jul 18th 2018, 09:06 alexdd55 ah
# Jul 18th 2018, 09:06 saeideng those are immutable
# Jul 18th 2018, 09:06 alexdd55 i always have to use ´=´?
# Jul 18th 2018, 09:06 saeideng and finally `return $this->response`
# Jul 18th 2018, 09:05 saeideng you have to do like this ``` $this->response = $this->response->with*()->$this->response->with*(); ```
# Jul 18th 2018, 09:05 saeideng hi @alexdd55