31
Web Server - Ask For Help / Re: Uploading a picture file from mobile device
« Last post by rjolda on October 05, 2025, 03:32:12 AM »HI,
Used the FileUpload field and managed to get it correct and working.
Ron
Used the FileUpload field and managed to get it correct and working.
Ron
32
Web Server - Ask For Help / Uploading a picture file from mobile device
« Last post by rjolda on October 04, 2025, 05:03:34 PM »Hi,
NT 14.31 and C11.0
I would like to give my customers the ability to take a photo on their mobile device ( not using webcam but using the mobile device camera which saves the picture to their device). I would then like to let them be able to select that picture file and upload it to the server. I apparently would need a Form. Will this work on a mobile device?
Any suggestions or help?
Thanks,
Ron
NT 14.31 and C11.0
I would like to give my customers the ability to take a photo on their mobile device ( not using webcam but using the mobile device camera which saves the picture to their device). I would then like to let them be able to select that picture file and upload it to the server. I apparently would need a Form. Will this work on a mobile device?
Any suggestions or help?
Thanks,
Ron
33
Web Server - Ask For Help / Re: Checkboxes weird out on mobile device
« Last post by rjolda on October 02, 2025, 03:24:48 PM »Hi
I kept digging as the checkboxes and radio options kept acting strange. Finnally got to the bottom of this. I found that I was sending a New Value to server on the CLient-Side. I ticked OFF all buttons for wWhen Field Selected in Browser. AND, I clicked OFF "Send new value to server". Now it is finally BEHAVING AS IT SHOULD!.
Ron
I kept digging as the checkboxes and radio options kept acting strange. Finnally got to the bottom of this. I found that I was sending a New Value to server on the CLient-Side. I ticked OFF all buttons for wWhen Field Selected in Browser. AND, I clicked OFF "Send new value to server". Now it is finally BEHAVING AS IT SHOULD!.
Ron
34
Web Server - Ask For Help / Re: Checkboxes weird out on mobile device
« Last post by rjolda on September 29, 2025, 02:21:22 PM »I found that opening the form as a POPUP made it act weird.
I unchecked the POPUP mode and it settled right down and acted correctly.
Interesting but that is what I found.
Ron
I unchecked the POPUP mode and it settled right down and acted correctly.
Interesting but that is what I found.
Ron
35
Web Server - Ask For Help / Re: Checkboxes weird out on mobile device
« Last post by rjolda on September 26, 2025, 04:02:54 AM »HI ,
I have 10 line items that the user can select Yes/NO for each item. I changed the check boxes to Radio buttons YES and NO. I set FlexBox layout for the form with Floating Prompt:
On small screens the buttons are centered and each button Yes and No on their own line. I wanted them to be on the SAME line (horizontal spread) just like on large screens.
NT script:
@media screen and (max-width: 640px) {
.nt-radio-div-buttons-hor {
flex-direction: column;
}
}
It apparently does this to make sure that all Radio buttons will show.
So, what I did is for MY form container - inside my custom.css:
@media screen and (max-width: 640px) {
.nt-radio-div-buttons-hor {
flex-direction: row;
}
}
I override the normal small screen behavior and get the buttons on the same line - side by side.
Took a little searching and experimenting but now it works!
Ron
I have 10 line items that the user can select Yes/NO for each item. I changed the check boxes to Radio buttons YES and NO. I set FlexBox layout for the form with Floating Prompt:
On small screens the buttons are centered and each button Yes and No on their own line. I wanted them to be on the SAME line (horizontal spread) just like on large screens.
NT script:
@media screen and (max-width: 640px) {
.nt-radio-div-buttons-hor {
flex-direction: column;
}
}
It apparently does this to make sure that all Radio buttons will show.
So, what I did is for MY form container - inside my custom.css:
@media screen and (max-width: 640px) {
.nt-radio-div-buttons-hor {
flex-direction: row;
}
}
I override the normal small screen behavior and get the buttons on the same line - side by side.
Took a little searching and experimenting but now it works!
Ron
36
Web Server - Ask For Help / Re: Checkboxes weird out on mobile device
« Last post by rjolda on September 25, 2025, 03:18:49 PM »HI Alberto,
Thanks for the input. It may be css but I solved it by making the fields RADIO BUTTONs instead of checkboxes. The checkboxes were nice but I didn't want the customers to complain that the app was locking them into services that they didn't want by keping them checked "yes". The YES and NO buttons are not as slick but are clearer.
Thanks,
ROn
Thanks for the input. It may be css but I solved it by making the fields RADIO BUTTONs instead of checkboxes. The checkboxes were nice but I didn't want the customers to complain that the app was locking them into services that they didn't want by keping them checked "yes". The YES and NO buttons are not as slick but are clearer.
Thanks,
ROn
37
Web Server - Ask For Help / Re: Checkboxes weird out on mobile device
« Last post by Alberto on September 25, 2025, 11:10:11 AM »Hi Ron, I think _touch_ has nothing to do with your issue
I was at the webinar today and I think you you should have show Bruce that your issue is only when you use a mobile browser size and not when you use the browser at desktop size, I think may be it has somthing to do with css.
Hope this helps
I was at the webinar today and I think you you should have show Bruce that your issue is only when you use a mobile browser size and not when you use the browser at desktop size, I think may be it has somthing to do with css.
Hope this helps
38
Web Server - Ask For Help / Re: Checkboxes weird out on mobile device
« Last post by rjolda on September 25, 2025, 08:43:02 AM »HI,
I think I have found the issue. It seems that there is a TOUCH that is getting implemented on the field and it just keeps the value at 1 ( checked ).
This is the line:
https://eppili.net/SetSessionValue?_touch_=1&_ajax_=1 Values: _touch_=1
_ajax_=1
THe normal response to touching the control should be something like this:
https://eppili.net/sm_updatej_srvreq_small_screen_jsrv__serv2request_value?_event_=257&value=0&_ajax_=1&_rnd_=0.9068946294296144
Sooo, I am trying to figure out how the "SetSessionValue?_touch_=1" arises or where it comes from as this seems to be gumming up the works. I couldn't find it in clarion code.
Anyone with insight?
Thanks,
Ron
I think I have found the issue. It seems that there is a TOUCH that is getting implemented on the field and it just keeps the value at 1 ( checked ).
This is the line:
https://eppili.net/SetSessionValue?_touch_=1&_ajax_=1 Values: _touch_=1
_ajax_=1
THe normal response to touching the control should be something like this:
https://eppili.net/sm_updatej_srvreq_small_screen_jsrv__serv2request_value?_event_=257&value=0&_ajax_=1&_rnd_=0.9068946294296144
Sooo, I am trying to figure out how the "SetSessionValue?_touch_=1" arises or where it comes from as this seems to be gumming up the works. I couldn't find it in clarion code.
Anyone with insight?
Thanks,
Ron
39
Web Server - Ask For Help / Re: Checkboxes weird out on mobile device
« Last post by osquiabro on September 25, 2025, 03:38:05 AM »Sorry, i meant create a radio buttons. Look example at https://gmd.istpr.com/SolicitudEmpleo
40
Web Server - Ask For Help / Re: Checkboxes weird out on mobile device
« Last post by rjolda on September 24, 2025, 10:33:01 AM »HI,
Yes, they are buttons.
Ron
Yes, they are buttons.
Ron
Recent Posts