Solved

drupal

Posted on 2014-09-22
4
137 Views
Last Modified: 2014-11-20
Where do we find the script that processes a form originally setup in Rules? We need to validate fields in a multipage 2-page form. I assume it is processed by a php script somewhere.
0
Comment
Question by:weknowjack
  • 3
4 Comments
 
LVL 13

Expert Comment

by:Arrow_1
ID: 40337817
It's hard to say what is processing a form without some more information. There are several ways to build forms in Drupal, so it depends on how it was made. The Rules module is not used for building forms, so this form is generated elsewhere. Perhaps you could give us more information about the purpose and function of the form so that we can help narrow it down.
0
 
LVL 13

Expert Comment

by:Arrow_1
ID: 40337822
Also, look at the rendered source code for that form. If you could give us the ID value for the form, that may help us as well.
0
 

Author Comment

by:weknowjack
ID: 40400583
Sorry for all the delay here.

The url is here: http://zoomapartmentfinder.com

The form is on all pages. We need to be able to add and validate other fields. It is basically a registration form that sends values to a database and email to the form owner.

We can manage fields using Content > Content Types > Lead
We manage recipients in Rules.
Just don't know where validation is managed.

Thanks for you patience.
0
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 500 total points
ID: 40400931
This form is using Drupal content types, which is the same system used for creating pages. All validation is handled by Drupal's built-in form validation. On its own Drupal only validates the data is appropriate for a specific type of field and whether or not said field is required. There's not really a script you can alter on your own. You can however extend Drupal's validation by writing your own module or using the existing Field validation module which allows you to add several different types of validation to Drupal's built-in forms. It even allows you to plug in your own php if one of the existing validators is not appropriate.
0

Featured Post

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wordpress Pagination 1 44
Simple function not working 7 43
pass foreach data in php into jquery ajax 10 45
How to remove a section of the main menu from Magento 1.9.3 3 26
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question