Jump to content
  • 0

Datapage text input - regex verification


Question

Hello,

I did a bit of searching but didn't find anything related to this specifically.  I would like to apply regex to individual text fields to require values are input using a format of my choosing.  Would this be javascript in the footer?  Or is there a part of the Datapage wizard where this belongs that I've completely overlooked?  I'm familiar with how regex works and what my field regex code would be, I just don't know how to implement it into a single record input datapage.

Thank you

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi PdeVIT,

You can put Javascript with regex expression in the Footer of the datapage.

This topic explains how you can reference various datapage form elements in Javascript.

https://forums.caspio.com/forum/49-caspio-javascript-solutions/

Also, do not forget to disable HTML editor before pasting the code:

https://howto.caspio.com/faq/caspio-bridge-8-4/inserting-code-in-html-blocks-and-header-footer/

Regards,

vitalikssssss

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...