• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 184
  • Last Modified:

drupal

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
weknowjack
Asked:
weknowjack
  • 3
1 Solution
 
Aaron FeledyDrupal Developer and ConsultantCommented:
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
 
Aaron FeledyDrupal Developer and ConsultantCommented:
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
 
weknowjackAuthor Commented:
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
 
Aaron FeledyDrupal Developer and ConsultantCommented:
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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now