Log message #4208726

# At Username Text
# Oct 14th 2019, 15:02 nils Yeah. Just thought there would be easier for you to type “Yes” rather than “This is not somethi…“ ;)
# Oct 14th 2019, 15:00 ricksaccous ouch another harsh one, sometimes other netizens need tough love though
# Oct 14th 2019, 15:00 neon1024 Maybe search Google for ‘Basic maths’
# Oct 14th 2019, 15:00 neon1024 You have all the power of The Internet at your fingertips
# Oct 14th 2019, 14:59 neon1024 This is not something you need me for.
# Oct 14th 2019, 14:59 neon1024 > 100 pence = 1 pound?
# Oct 14th 2019, 14:59 ricksaccous just join the discord @neon1024 hangs out on, they'll help you out
# Oct 14th 2019, 14:58 ricksaccous lolll
# Oct 14th 2019, 14:58 alexdd55976 will do.. i am here anyway and will complain about it a lot :)
# Oct 14th 2019, 14:57 ricksaccous @alexdd55976 alright good luck and let me know how it goes
# Oct 14th 2019, 14:55 nils @neon1024 I see. 100 pence = 1 pound?
# Oct 14th 2019, 14:55 alexdd55976 hard to tell what the best way to do it... gonna find out soon
# Oct 14th 2019, 14:54 neon1024 I do everything in pencese
# Oct 14th 2019, 14:54 alexdd55976 @ricksaccous thorugh selction you change some json config which triggers changes in your forms...
# Oct 14th 2019, 14:54 nils So I should use the checkout amount times 100 ?
# Oct 14th 2019, 14:54 neon1024 Then things like Yaun or Yen might not have minor denominations
# Oct 14th 2019, 14:53 neon1024 cents, pence, etc
# Oct 14th 2019, 14:53 nils @neon1024 not sure what you mean by “minor denominations”
# Oct 14th 2019, 14:53 ricksaccous these radio buttons given this class and these data properties would hide/show x field
# Oct 14th 2019, 14:52 ricksaccous and operate based on that
# Oct 14th 2019, 14:52 ricksaccous i search for inputs with certain classes and data- attributes attached
# Oct 14th 2019, 14:52 ricksaccous with jquery i generify that to some degree
# Oct 14th 2019, 14:52 alexdd55976 you could trigger stuff through changes.
# Oct 14th 2019, 14:51 ricksaccous changing rules based on selections/etc
# Oct 14th 2019, 14:51 ricksaccous another common thing is hiding/showing fields based on certain selections
# Oct 14th 2019, 14:50 alexdd55976 i will build some stuff with it and try to make it so generic that hopefully its helpfull for others too
# Oct 14th 2019, 14:49 ricksaccous there are a few gotchas when you work with ajax/manipulating data you get back
# Oct 14th 2019, 14:49 ricksaccous build*
# Oct 14th 2019, 14:48 ricksaccous i noticed that for select option lists it's often better to use a query that organizes things into an array because when you jsonify an array it's order doesn't get mangled by the json conversion
# Oct 14th 2019, 14:48 ricksaccous but it's good that if i built it once i can re-use it
# Oct 14th 2019, 14:47 ricksaccous it would be nice if it had some logic built in to do some of those common tasks automagically
# Oct 14th 2019, 14:47 ricksaccous oh
# Oct 14th 2019, 14:47 alexdd55976 its a workaround, but it makes such things possible
# Oct 14th 2019, 14:47 alexdd55976 just change the content of the object
# Oct 14th 2019, 14:46 alexdd55976 kind of easy ... yes
# Oct 14th 2019, 14:46 ricksaccous i really should take some time and get into it
# Oct 14th 2019, 14:46 ricksaccous does vue make stuff like that a breeze?
# Oct 14th 2019, 14:46 ricksaccous and stuff like changing select options based on other options
# Oct 14th 2019, 14:46 ricksaccous what i'm most interested in is displaying errors on ajax via a js framework like vue
# Oct 14th 2019, 14:45 alexdd55976 thorugh the nature of php its no "real databinding" but its very easy to use it as this
# Oct 14th 2019, 14:45 alexdd55976 @ricksaccous you can "bind and observe" a json object and can react on those changes in both ways