Angular4 automatic forms validation messages

I'm diving into Angular4 forms validation. I was wondering if there is any library that introduce validation of controls in a template driven form. What I'm looking for is a library that insert automatically the "Required." text field for every form...
more »

2017-10-04 22:10 (1) Answers

How do I display message on the same page?

I have a quick question about my form. After submitting the form you will be directed to a page followed by the text that I put in. The problem is that I want this text to be displayed on the same page as where the form is on (named contact.html) I u...
more »

2017-10-04 12:10 (2) Answers

Laravel form array validation

I need some help for validating my form with Laravel 5.4. My form: {{Form::bsText('general[firstname]')}} {{Form::bsText('general[lastname]')}} Then I have a RequestObject for the validation with the following rules: 'general[firstname]' =>...
more »

2017-10-03 11:10 (5) Answers

JavaScript: Submit and Prevent

I try to trigger form submitting and prevent the submission at the same time. What I mean: When you select a file, JS will attempt to submit, but will also run a function (onsubmit) that prevents the action. And that's my code (No jQuery, just tryin...
more »

2017-10-02 11:10 (1) Answers

unintentional state update in react form

First of all this is a simplified example: Codepen Project I am building an edit form in react, which checks if there are any changes. You can only save the form if there are any changes and any changes you made will be shown by changing the style ...
more »

2017-09-30 19:09 (1) Answers

Get search box to filter results

I have a list of filter buttons that filter gallery items. The filtering works well, and the filter state is saved in session storage. I'm trying to link up the search box and button. The behavior I'm trying to achieve is when someone types into the...
more »

2017-09-30 02:09 (2) Answers

Contact form with dropdown of contacts

I am working on a site design for my son's school/church. They have 3 primary departments: Church, School and Daycare. They want users to be able to email each department using a dropdown menu in the contact form. I thought I had it working, but afte...
more »

2017-09-25 23:09 (1) Answers

Form ignores reCaptcha2

I need some help. I have a contact form, and I'm trying to add reCaptcha2 but the validation fails. My form starts like this <form id="frmcaptcha" name="formulario" method="POST" action="enviar-email.php"> The 'enviar-email.php' is the file...
more »

2017-09-25 19:09 (0) Answers

Cannot set a form field to dirty

I've looked for an answer to this and come across several posts, but none of them are working for me. I want to do something simple. I have a button that is invisible until the form is dirty. This works great if I manually dirty the form. However, ...
more »

2017-09-24 04:09 (1) Answers

How do I get an form selected value jQuery

How should I get an form input selected value using jQuery <form:select path="amtAppMonitResltVO.monitStat" id="amtAppMonitResltVO.monitStat" cssClass="state"> <option value="">선택</option> <form:options name="monit" item...
more »

2017-09-21 03:09 (2) Answers

possible values of $email_from

I am getting an error when I click the submit button on the form (error; you need to submit the form). I'm not sure how but I think it's because of the value of the $email_form. Am I doing it wrong? Should I change the value of my $email_form. Are th...
more »

2017-09-20 20:09 (0) Answers

Displaying error message in php email form

I have a basic contact form that gets a persons name, email, and comments then emails it. All the fields are required and I have error checking for the inputs in my php file before it sends the email. But right now if there is an error with one of th...
more »

2017-09-19 06:09 (1) Answers

Bootstrap Form Php recieving email without content

I have an issue with my contact form of my personal website. This is my original form, with it I will receive emails but it doesn't display any data of the input fields. Neither subject text or the senders email. It seems like the Php doesn't detect...
more »

2017-09-17 19:09 (0) Answers

How to crawl data from encrypted url?

I'm trying to use scrapy to collect the university's professors' contact information from its directory. Since I can't post more than 2 links, I put all links in the following picture. I set last name equals from the drop-down menu as shown in the p...
more »

2017-09-17 10:09 (1) Answers

Can't validate and display errors in PHP

I am trying to display form information with Shipping Information Heading, with validation of name, contact etc. I am able to display it but not able to validate it and if I submit a form blank it shows blank values except payment and shipping method...
more »

2017-09-15 19:09 (2) Answers

formfield user value validation ninja forms 3

I'am having a problem with custom formfield validation i have installed Ninja form 3 in the latest wp-install. The problem i can't get clear wich hook to use. I have looked at the documentation on there site and tried several thing but no results. W...
more »

2017-09-15 17:09 (0) Answers