This question about Topic Markup Language and applications: Asked

Get a value from an form

We have a form with information. As below
Name Type Size Values Description Attributes Default
Testi text 60        
testis select 1 Asked,More info required,Answered Mandatory status M Asked
aw select 1 Version in SVN,Foswiki 1.1.4,Foswiki 1.1.3,Foswiki 1.1.2,Foswiki 1.1.1      
Time text 15 07:00-18:00      
vad text 200 tårta   M  
hur text 100        
email text 60   M
why text 60        
tests text 60        
numbberrr text 60        
Do text 60        
You text 60        
No text 60        
when text 60        
test text 60        

The form name has been updated

How can I get the value "07:00-20:00"?

I tried below query but it does not work....

Time: QUERY{"'BASEWEB.BASETOPIC'/4"} (removed %)

-- AmirMemarian - 09 May 2019

There are a couple of options:

Note that you have used quite unusual formfield names. This might cause problems. Try again renaming the formfields using your code.

-- Main.MichaelDaum - 09 May 2019

None of the above works for me. Changed the form field names.

-- AmirMemarian - 09 May 2019

Just to be clear, the information you presented above is a DataForms definition. You would use QUERY and similar macros to extract values from a topic that's using that data form. Can you say more about what exactly you're trying to accomplish or elaborate further?

-- LynnwoodBrown - 09 May 2019

QuestionForm edit

Subject Topic Markup Language and applications
Status Asked
Related Topics
Topic revision: r5 - 09 May 2019, LynnwoodBrown - This page was cached on 03 Jun 2020 - 21:23.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy