Developer forum

Forum » Development » Formularer Module

Formularer Module


Reply

Hi guys,

 

This is a 2 questions post, but both reated to the same thing:

 

1. I can choose - User Defined - but where do I defined? image here: http://tinyurl.com/6p683u

 

2. How can I create a new validation, like "CPR Nr" so I can validate the CPR number on Form submit, what do I need to create/do?

 

 

Thank you.


Replies

 
Reply

1: User defined fields set up in Intranet/Extranet, Extended. They will appear beneath this option.

 

2: There's no way to set up a custom validation client side, but you could enter an alternative form action and then do the validation server side using your own custom aspx page.

 
Reply

1. Got it.

 

2. I do use it, but if I validate on the server, I will never be able to send the user to the same page (form page) without loosing every thing that he/she entered... cause I will redirect the user the the previous page, I cant just Go Back.

 

:(

 
Reply

Well, you could gather all items in your request.form, write the same fields as hidden fields in a form in your mark-up, and then submit that form to the correct recipient page (check the action of the form before entering the alternative action). Not pretty, but it'll work:)

 

You must be logged in to post in the forum