Hello Experts
Please help me in this scenario i have done like when i select values from dropdown then different panels will show as per values but when i save record it submit whole record not that particular panels how to do that anyone ?
What does this mean? Every field even ones that are not shown within the edit view will always be saved? What functionality are you looking for here?
Sir yesterday i was working on hide and show panel that was finally done. Thanks for help.
but now point is when i hide one panel i want only one panel to be submitted on saving data at-last but then panel which i am hiding is also submitting with default values because i want when i select value ‘A’ from drop-down panel 1 shows and only panel one field should be submitted similar case with the value ‘B’
Because at-last when i click on save button it submit and store fields of all panels whether any panel is hide or not hide.
Hope you got it my point
Yes by default this would be the case. I guess you could look a creating a custom save function but I imagine that will be a massive job.
My suggestion - If you were to implement your code into the detail view as well and have it reflect what panel was selected in the dropdown you would only see the correct panel and the additional data that is saved is hidden from view. The main reason behind this is you don’t want to have a custom function that when the panel is changed from 1 to 0 or vice versa it removes or saves data as blank
Sorry sir but i didn’t understand what exactly i have to do can you please elaborate more.
Replicate what you done on the edit view to the detail view so only the selected panel displays. Main reason behind this is to ensure data integrity should someone start making changes to the function or the drop-down
Ok let me try sir . Let c what happens