Log message #4174564

# At Username Text
# Jan 21st 2019, 19:00 graziel i like these kind of errors in steppers, clear where they are https://vuetifyjs.com/en/components/steppers#multi-line-error-state
# Jan 21st 2019, 18:55 jhall yep its going pretty good thanks
# Jan 21st 2019, 18:52 ricksaccous I'm sure you're doing alright :slightly_smiling_face:
# Jan 21st 2019, 18:52 ricksaccous lolll
# Jan 21st 2019, 18:52 jhall haha
# Jan 21st 2019, 18:52 jhall and I suck at it
# Jan 21st 2019, 18:52 ricksaccous lol oh
# Jan 21st 2019, 18:52 jhall I am the UX person haha
# Jan 21st 2019, 18:47 ricksaccous tabbed/stepped forms are a pain
# Jan 21st 2019, 18:47 ricksaccous or just ask the client what they want, giving them different options
# Jan 21st 2019, 18:46 ricksaccous prob you can bug the UX person (if you have one) on how they want it done
# Jan 21st 2019, 18:46 ricksaccous up to you
# Jan 21st 2019, 18:46 ricksaccous so meh
# Jan 21st 2019, 18:46 ricksaccous but then they might get frustrated if there are erros in other tabs
# Jan 21st 2019, 18:46 ricksaccous lol
# Jan 21st 2019, 18:45 ricksaccous or you could prob write in jquery a script that on page load, go to first tab with errors in it
# Jan 21st 2019, 18:44 jhall right
# Jan 21st 2019, 18:44 ricksaccous because it could get messy if there are errors across tabs
# Jan 21st 2019, 18:44 ricksaccous you could just resort to displaying errors as flash messages
# Jan 21st 2019, 18:44 jhall ah ok
# Jan 21st 2019, 18:44 ricksaccous but if you wanted
# Jan 21st 2019, 18:44 ricksaccous no i was saying based on if it has x error make x tab active
# Jan 21st 2019, 18:44 ricksaccous however it would be weird if they made errors in two different tabs
# Jan 21st 2019, 18:44 jhall like a flash message?
# Jan 21st 2019, 18:43 jhall oh and display them at the top?
# Jan 21st 2019, 18:43 ricksaccous and based on that show active tab
# Jan 21st 2019, 18:43 ricksaccous in that case you can probably just do getErrors() or something
# Jan 21st 2019, 18:43 ricksaccous oh
# Jan 21st 2019, 18:42 jhall I basically have a tab page style element which by default is not active, so when I attempt to save my entity the client is flagging a field that is missing however is not currently visible
# Jan 21st 2019, 18:33 ricksaccous then you could give it a unique class and insert stuff with jquery if you wanted to
# Jan 21st 2019, 18:33 ricksaccous unless this was for edge cases and not all error messages
# Jan 21st 2019, 18:25 jhall okay
# Jan 21st 2019, 18:24 ricksaccous if you worked for me and insisted on inserting stuff with jQuery I would fire you on the spot, no questions allowed
# Jan 21st 2019, 18:24 ricksaccous formTemplates would be the correct way rather than inserting stuff with jQuery
# Jan 21st 2019, 18:21 ricksaccous so unless you are doing something fancier than inserting stuff there's probably no point
# Jan 21st 2019, 18:21 ricksaccous in that case you could prob just insert with PHP though
# Jan 21st 2019, 18:21 ricksaccous or whatever
# Jan 21st 2019, 18:21 ricksaccous you could prob just give it a class if it has an error and have jquery insert something based on that class
# Jan 21st 2019, 18:20 jhall whats the flow if I want to do something conditional in jquery for an entity field error? So if a field has an error I want to execute some jquery code
# Jan 21st 2019, 17:43 jhall ok
# Jan 21st 2019, 17:43 ricksaccous there's something like that yes