Jump to content

Form Validation - Mobile Number

Recommended Posts

Site URL: http://www.iwn.org.au

Hi, 

I am trying to add some validation rules for the number field in the form.

The two rules need to be 'must start with 04' and 'must be 10 digits/characters'.

Also the third rule is that to make all the program checkboxes automatically get checked when 'All IWN Programs' field is checked.

I would appreciate any help possible.

Thank you!

Screen Shot 2021-06-21 at 5.16.31 pm.png

Edited by VanessaTT
Link to comment
  • VanessaTT changed the title to Form Validation - Mobile Number
  • 2 weeks later...
  • Replies 2
  • Views 589
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 6/21/2021 at 2:18 PM, VanessaTT said:

Site URL: http://www.iwn.org.au

Hi, 

I am trying to add some validation rules for the number field in the form.

The two rules need to be 'must start with 04' and 'must be 10 digits/characters'.

Also the third rule is that to make all the program checkboxes automatically get checked when 'All IWN Programs' field is checked.

I would appreciate any help possible.

Thank you!

Screen Shot 2021-06-21 at 5.16.31 pm.png

You may have to use javascript for validation

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 6/21/2021 at 2:18 PM, VanessaTT said:

Site URL: http://www.iwn.org.au

Hi, 

I am trying to add some validation rules for the number field in the form.

The two rules need to be 'must start with 04' and 'must be 10 digits/characters'.

Also the third rule is that to make all the program checkboxes automatically get checked when 'All IWN Programs' field is checked.

I would appreciate any help possible.

Thank you!

Screen Shot 2021-06-21 at 5.16.31 pm.png

Do you need support on these?

Site URL – https://www.iwn.org.au/

1. (Header) Make menu in 1 row?

https://www.iwn.org.au/

iwn.org_.au-01-min.png

 

2. (Blog) Make image fullsize?

https://www.iwn.org.au/blog

iwn.org_.au-03-min.png

3. (Mobile – members partners) Change to 2 logos/row?

https://www.iwn.org.au/members-partners

iwn.org_.au-04-min.png

4. (Mobile – Program) change order of text/image

https://www.iwn.org.au/all-iwn-programs

iwn.org_.au-05-min.png

5. (Mobile – Blog) Replace pagination titles with Prev/Next text?

https://www.iwn.org.au/blog/iwn-announce-strategic-partnership-with-swan

iwn.org_.au-06-min.png

6. (Tablet – Menu) Align icon social media?

https://www.iwn.org.au/

iwn.org_.au-07-min.png

7. (Tablet – Menu > program) Increase spacing between lines

iwn.org_.au-08-min.png

8. (Tablet – Program) Align image?

https://www.iwn.org.au/all-iwn-programs

iwn.org_.au-09-min.png

9. (Tablet – Tech trials) Reduce space?

https://www.iwn.org.au/technology-trial-locations#/map

iwn.org_.au-10-min.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.