INPUT command [allowed_types_matrix] - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: INPUT command [allowed_types_matrix] (/thread-10176.html) |
INPUT command [allowed_types_matrix] - josephec - 02-16-2018 12:57 AM Hi Friends, I need to create an INPUT with ONE field that accept REALS (0 type) and too FUNCTIONS (8 type) so I used [ 0 , 8 ] as [allowed_types_matrix] ... this field only accept REALS (0 type) AND WITH 'X+5' GIVES "Error : Invalid input" I created the following program for example (with 2 fields to not leave the form and test many times): PHP Code: EXPORT INPUTTEST Please Your help with any suggestion, thanks. Best regards!! josephec RE: INPUT command [allowed_types_matrix] - Carlos295pz - 02-16-2018 01:34 AM Input is failing! With {{fx,[8]} it should be enough, but currently it seems not to accept data if it does not contain any variable, clearly this is a bug. RE: INPUT command [allowed_types_matrix] - josephec - 02-16-2018 01:54 AM (02-16-2018 01:34 AM)Carlos295pz Wrote: Input is failing! Thanks Carlos.. I will use only type 8. And if the user needs to enter a REAL 5 would use '5+0' trick. Have a great day. Josephec |