User Profile
Collapse
-
ok thanks a lot ^_^ a friend of mine was able to give me help. the solution to my problems is subroutines and not separating the generation of a form and perl script into two files. -
oh yeah, the action is lwpmpsample.pl
i understand your suggestion. but the validation that i want to do is putting asterisks in the fields where invalid data has been entered. that is, not navigating away from the form unless all data are valid, without using another webpage that has a "go back and try again" link. is it possible to do this in perl?Leave a comment:
-
how to inhibit form submission for user input validation
i need help,
this is my code for my form:
[code=perl]
print header;
print start_html('Ass ignment 2'),
start_form(-action=>'lwpmsa mple.pl',-method=>'POST') ,
"Option: ", popup_menu(-name=>'myOption ',
-values=>['Tag']),
p,
"URL of page to be changed: ", textfield(-name=>'urlToBeC hanged',
... -
-
-
what's LWP and how to use it?
Can anyone tell me what's LWP and how to use it? my assignment specs say:
"Using CGI.pm and LWP create a form and a CGI script that will automatically change any HTML tag New change. Just the tags." -
umm, it's in the assignment specs so i think i don't have a choice, hehehe.
but thanks ^__^
The prof's going to post some code that he made just so we can be on the right track on doing the assignment, I'm just going to wait for that... He showed the starting codes (declaring the first 3 classes, setting up the constructors, etc.) but i forgot to copy the code for allocation with the void *data. I assumed that he's going to...Leave a comment:
-
C++ - Memory Allocation with a void pointer
Good day, I need help ^__^
I have a void pointer: void *data;
I am told to "allocate len+1 characters and set the 'data' to the address of newly allocated memory setting the first character of 'data' to NULL (making the string blank)."
my guess is:
data = new char [len +1];
data[0] = 0;
Is my guess correct?
Thank you so much. -
systems use cases unique to the food industry
Good day everyone, can I have your suggestions on possible systems use cases that are unique to a food business (catering, fastfood...)
Thanks very much ^__^ -
Wow, Thank you ^__^. I already submitted to my prof the link to my assignment. I just removed the history.back() and simply put in the href the link to the site where I want the user to be directed. all of the inputs on the form will be always erased though...
Thanks again.Leave a comment:
-
perl code to equal to javascript's history.back()
hello ^__^
does anyone here know a perl code or function that can be used to go back to a previous page after clicking a link? that is, it does the exact thing when you use javascript's history.back()?
My professor says he "loathes" javascript so I'm afraid that i'll lose marks if I use history.back().
Thank you so much
jdserran
Programming Student
No activity results to display
Show More
Leave a comment: