Click here to Skip to main content
15,918,976 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everybody. I have a form that needs to be validated. If some of the values in form are not within the specific range, the javascript should "launch" modal box with the certain message. Also, I need to use the values from form and generate a file with php. I wonder if this type of synergy of php and javascript is right. Can you please tell me how to do this?

What I have tried:

I would be thankful if someone post an example. So far I'm using only javascript for all tasks (except generating file). Please help.
Updated 2-May-16 20:02pm
BillWoodruff 2-May-16 12:34pm    
Did you notice that this is a C# forum ?
ZurdoDev 2-May-16 12:43pm    
This is QA silly.
Sergey Alexandrovich Kryukov 2-May-16 14:55pm    
About your "What I have tries section": please read carefully: What have you tried so far?


Check these out:
1. JavaScript Form Validation[^]
2. PHP 5 File[^]
Share this answer
Abhinav S 3-May-16 2:02am    

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900