- 4
Text color has change(red) perfectly when I open the app at first time. But it'll not work after running the app. Solution?
25 odpowiedzi
+ 3
ASHRAFUL HAQUE Wait... What? How are you using Google Sheet as the PHP page?
TBH... I'm a bit confused about whether or not you understand, much less, wrote the code implementing the Google Apps Script API or if you grabbed parts of it from somewhere else and you're trying to figure it out.
This code does look like it was pulled from some other code base written by someone who understands the Google Apps Script API. It's just unclear if you were that person based on your responses so far and the code I've reviewed.
To cut to the chase, did you write this code or grab this from some other source?
Have you ever gotten this code working? If so... what happened to the scripts for initializing the Google Apps Script API?
+ 2
ASHRAFUL HAQUE Sorry for the late reply. It's been a busy day.
I just pulled your project and have a few comments to kick this off.
1. https://github.com/Ashraful7679/user-form/blob/master/main.html#L82
This appears to be some left over from a PHP page. You need to initialize this value in another way. It's breaking your Javascript.
2. Your references to the google object are undefined. Perhaps you're missing a library you meant to include. Without having that implemented, there's not much that's going to work.
+ 1
ASHRAFUL HAQUE I can try to make time tomorrow to review from my machine. It's 3:41am EDT at the moment. 😉😴
0
David Carroll this is the google sheet I'm using for the reference and as the php page.
0
I'm using this code as a script file in the google sheet.
You can find the script editor in the Tools>Script editor section.
- 1
Please verify your code, there are missing pieces there which prevents the code to run and be analysed.
- 1
Big Thanks David Carroll 🙏
- 2
Please check the github url for full code
- 2
I have another issue with this userform.
I want to disable the add-customer-button when the initial value <=0
- 2
Please first tell me which file, you have 7 files there bro. Tell me where to begin?
- 2
Main.html
- 2
This is the google sheet you can input data using the code
- 2
I'm not sure, but looking at your main.html, I think you need to verify variable <initVal> value is evaluable as number when it is checked at line 83.
That is the part that changes colours right bro?
- 2
Let me give you the access to edit the code and check if it is okay or not.
- 2
Okay
No problem.
please help me when you are on pc
- 3
You can open the userForm following the 'custom manu'