3 Posts
Werner1966
5 years ago
4
Topic

Hello i work very fresh with Seblod and i cant find the Answer for my trouble online.

My Problem i have a Form to write some Data in my Database its works fine now i want get a search to show one Part.

I have take the same app folder like the Form and i believe the cck in the search Form, second i take the field i want search (UID) in the search Form and a serch Button from "All App Folders"

On the Item i take the Fields i need to show in the Mainbody.

Last i save it and make a Menu Point. Now i write the exist Data in the UID Field and press Search i get the call "There is no result"

I search  Two days online and taste same diferents i found online but nothing work.

Is ther someone where can Help me?

Get a VIP membership
1283 Posts
Bucklash
5 years ago
1
Level 1

Whenever using search activate debug in the search template’s config area.

Check out the search’s sql query in front end .... 

get more idea of problem from there

3 Posts
Werner1966
5 years ago
0
Level 2

Hello i have found and clear the Mistake.

Its important that the post are stored as new post and not only in the Database, but the most tutorials not speak about this. now i have found a video from 2 Hours its was very good infos inside. 

But i have a second question, i have a field with need min. 18 and max 20 inside, now he talk is required min 18 but i dont want show the Number its need, i want only its show that its not a correct number.

how can i make this?

5 years ago
1
Level 1

Hello Werner1966,

for your second question you can put a "Regex" validation on your field (Option 3) with this setup:


Regards.

3 Posts
Werner1966
5 years ago
0
Level 2

OK i got it, but its dont work its show only not valid

i get /(18|19|20)/ and /{18|19|20}/ also  /(20)/

the Picture is very smal text i cant identificate corect the signs

Get a VIP membership